File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,25 @@ jobs:
2424 - uses : actions/checkout@v4
2525 if : ${{ steps.release.outputs.release_created }}
2626
27- - run : npm install
27+ - uses : pnpm/action-setup@v2
28+ if : ${{ steps.release.outputs.release_created }}
29+ with :
30+ version : 8
31+
32+ - uses : actions/setup-node@v4
33+ if : ${{ steps.release.outputs.release_created }}
34+ with :
35+ node-version : ' 22'
36+ registry-url : ' https://registry.npmjs.org'
37+ cache : ' pnpm'
38+
39+ - run : pnpm install
40+ if : ${{ steps.release.outputs.release_created }}
41+
42+ - run : pnpm build
2843 if : ${{ steps.release.outputs.release_created }}
2944
30- - run : npm publish --access=public --provenance
45+ - run : pnpm publish --access=public --provenance
3146 if : ${{ steps.release.outputs.release_created }}
3247 env :
3348 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments