File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,27 @@ jobs:
18
18
with :
19
19
node-version : ' 23.3.0'
20
20
registry-url : https://registry.npmjs.org/
21
+
22
+ # Install dependencies with pnpm
23
+ - uses : pnpm/action-setup@v2
24
+ with :
25
+ version : latest
26
+
21
27
- name : Install dependencies
22
- run : npx ci
28
+ run : pnpm install --frozen-lockfile
29
+
30
+ # Build the project
31
+ - name : Build
32
+ run : pnpm build
33
+
23
34
- name : Create release
24
35
env :
25
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
37
run : |
27
38
RELEASE_TAG=v$(node -p "require('./package.json').version")
28
39
gh release create $RELEASE_TAG --target=$GITHUB_SHA --title="$RELEASE_TAG" --generate-notes
29
- - name : Publish to npmjs
40
+
41
+ - name : Publish to npm
30
42
env :
31
43
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
32
- run : npm publish --access=public
44
+ run : pnpm publish --access=public --no-git-checks
You can’t perform that action at this time.
0 commit comments