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 # This is required for requesting the JWT
8+ id-token : write # Required for OIDC
9+ contents : read
910
1011jobs :
1112 publish :
@@ -16,10 +17,13 @@ jobs:
1617 with :
1718 ref : ${{ github.event.release.tag_name }}
1819 - name : Setup Node environment
19- uses : actions/setup-node@v1
20+ uses : actions/setup-node@v4
2021 with :
21- node-version : 16
22- registry-url : https://registry.npmjs.org/
22+ node-version : ' 20'
23+ registry-url : ' https://registry.npmjs.org'
24+ # Ensure npm 11.5.1 or later is installed
25+ - name : Update npm
26+ run : npm install -g npm@latest
2327 - name : NPM Install
2428 run : npm install
2529 - name : NPM run build
3236 echo "npm_tag=$npm_publish_tag" >> $GITHUB_OUTPUT
3337 - name : Publish to NPM with tag
3438 run : npm publish --tag ${{ steps.npm_tag.outputs.npm_tag }}
35- env :
36- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
3739 deploy_chime_prod_demo :
3840 needs : publish
3941 name : Deploy Meeting Demos with the latest NPM release
You can’t perform that action at this time.
0 commit comments