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:
1818 with :
1919 node-version : ' 23.3.0'
2020 registry-url : https://registry.npmjs.org/
21+
22+ # Install dependencies with pnpm
23+ - uses : pnpm/action-setup@v2
24+ with :
25+ version : latest
26+
2127 - 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+
2334 - name : Create release
2435 env :
2536 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2637 run : |
2738 RELEASE_TAG=v$(node -p "require('./package.json').version")
2839 gh release create $RELEASE_TAG --target=$GITHUB_SHA --title="$RELEASE_TAG" --generate-notes
29- - name : Publish to npmjs
40+
41+ - name : Publish to npm
3042 env :
3143 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