File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,17 @@ jobs:
1515 test :
1616 name : Publish to NPM
1717 runs-on : ubuntu-latest
18+ permissions :
19+ contents : read
20+ id-token : write
1821 steps :
1922 - uses : actions/checkout@v4
2023 - uses : pnpm/action-setup@v4
2124 with :
2225 version : 10
2326 - uses : actions/setup-node@v4
2427 with :
25- node-version : 18
28+ node-version : 24
2629 registry-url : ' https://registry.npmjs.org'
2730 cache : ' pnpm'
2831
@@ -36,14 +39,10 @@ jobs:
3639
3740 - name : Push Release
3841 if : ${{ !github.event.release.prerelease }}
39- env :
40- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4142 run : |
42- pnpm publish --tag latest --access=public
43+ pnpm publish --tag latest --access=public --no-git-checks --provenance
4344
4445 - name : Push Pre-Release
4546 if : ${{ github.event.release.prerelease }}
46- env :
47- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4847 run : |
49- pnpm publish --tag next --access=public
48+ pnpm publish --tag next --access=public --no-git-checks --provenance
Original file line number Diff line number Diff line change 11{
22 "name" : " @workos/authkit-sveltekit" ,
3- "version" : " 0.0.1-alpha.0 " ,
3+ "version" : " 0.0.1-alpha.1 " ,
44 "description" : " Official WorkOS AuthKit SDK for SvelteKit" ,
55 "type" : " module" ,
66 "main" : " ./dist/index.cjs" ,
You can’t perform that action at this time.
0 commit comments