File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- permissions :
7- contents : read
8- id-token : write # required for npm trusted publisher (OIDC)
96jobs :
107 build :
118 runs-on : ubuntu-latest
9+ permissions :
10+ contents : read
11+ id-token : write # required for npm trusted publisher (OIDC)
1212
1313 steps :
1414 - uses : actions/checkout@v4
1515 - uses : actions/setup-node@v4
1616 with :
1717 node-version : " 18.x"
1818 registry-url : " https://registry.npmjs.org"
19+ - name : Use latest npm (trusted publisher support)
20+ run : npm install -g npm@latest
21+ - name : Clean legacy npm auth config
22+ run : npm config delete //registry.npmjs.org/:_authToken || true
1923 - run : npm ci
2024 - run : npm run build
25+ - name : Verify identity (OIDC)
26+ run : npm whoami
2127 # OIDC auth + provenance; no token needed when using trusted publishers
2228 - run : npm publish --provenance --access public
Original file line number Diff line number Diff line change 11{
22 "name" : " @watts-lab/surveys" ,
3- "version" : " 1.19.3 " ,
3+ "version" : " 1.19.4 " ,
44 "description" : " " ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.js" ,
You can’t perform that action at this time.
0 commit comments