File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - v*
77
8+ permissions :
9+ id-token : write
10+ contents : write
11+
812jobs :
913 deploy :
1014 runs-on : ubuntu-latest
@@ -59,13 +63,19 @@ jobs:
5963 - name : Build For production
6064 run : bun run build
6165
66+ - name : Setup Node.js for NPM publish
67+ uses : actions/setup-node@v4
68+ with :
69+ node-version : " 20"
70+ registry-url : " https://registry.npmjs.org"
71+
72+ - name : Update npm for OIDC support
73+ run : npm install -g npm@latest
74+
6275 - name : Publish to NPM
63- run : |
64- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
65- echo "//registry.npmjs.org/:always-auth=true" >> ~/.npmrc
66- npm publish
6776 env :
68- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
77+ NPM_CONFIG_PROVENANCE : true
78+ run : npm publish --provenance
6979
7080 - name : Set up QEMU
7181 uses : docker/setup-qemu-action@v3
You can’t perform that action at this time.
0 commit comments