File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 55 types : [released]
66
77permissions :
8- id-token : write # Required for OIDC to deploy to npmjs via Trusted Publisher
8+ id-token : write # Required for OIDC
9+ contents : read # Required for checkout
910
1011jobs :
1112 publish :
1213 name : Upload archives
1314 runs-on : macos-latest
1415 steps :
1516 - name : Check out code
16- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
18+
19+ - name : Setup node
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ' 22.x'
23+ registry-url : ' https://registry.npmjs.org'
1724
1825 - name : Build
1926 run : |
2027 yarn
2128 yarn prepare
2229
23- - name : Setup node for publishing
24- uses : actions/setup-node@v3
25- with :
26- node-version : ' 22.x'
27- registry-url : ' https://registry.npmjs.org'
28-
2930 - name : Publish to npm
30- run : |
31- npm ci
32- npm publish
31+ run : npm publish
You can’t perform that action at this time.
0 commit comments