File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 types : [published]
66
77permissions :
8+ id-token : write # Required for OIDC
89 contents : read
910
1011env :
1112 CI : true
12-
1313jobs :
1414 build :
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v4
19-
20- - name : Setup Node.js
21- uses : actions/setup-node@v4
18+ - uses : actions/checkout/@v6
19+ - uses : actions/setup-node@v6
2220 with :
23- node-version : ' 20 '
21+ node-version : " 24 "
2422 registry-url : ' https://registry.npmjs.org'
2523 cache : ' npm'
2624
25+ - run : npm install -g npm@latest # Required for trusted publishing (npm 11.5.1 or later)
26+
2727 - name : Install dependencies
2828 run : npm ci
29-
29+
3030 - name : Build Extension
3131 run : npm run build
3232
3636
3737 - name : Publish Extension
3838 run : npm publish --tag ${{ env.RELEASE_CHANNEL }}
39- env :
40- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments