File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - develop
77 types : [closed]
88
9+ permissions :
10+ id-token : write # Required for OIDC
11+ contents : write
12+
913env :
1014 NODE_VERSION : 24.x
1115
3943 cache : " npm"
4044 cache-dependency-path : " **/package-lock.json"
4145
46+ # Ensure npm 11.5.1 or later is installed (for OIDC)
47+ - name : Update npm
48+ run : npm install -g npm@latest
49+
4250 - name : Install dependencies
4351 run : npm ci
4452
9199
92100 - name : Publish SDK to NPM
93101 if : startsWith(github.head_ref, 'releases/sdk-v')
94- run : |
95- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
96- npm publish --access=public
97102 working-directory : ./build/sdk
98- env :
99- NPM_TOKEN : ${{secrets.NPM_TOKEN}}
103+ run : npm publish --access=public
100104
101105 - name : Create pull request to main (App)
102106 if : startsWith(github.head_ref, 'releases/v')
You can’t perform that action at this time.
0 commit comments