File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,10 +31,12 @@ jobs:
3131 # Setup .npmrc file to publish to npm
3232 - uses : actions/setup-node@v6
3333 with :
34- node-version : 22
34+ node-version : 24
3535 registry-url : " https://registry.npmjs.org"
3636 scope : " @readalongs"
3737 package-manager-cache : false
38+ - name : Update npm to latest version for OIDC/Trusted Publishing support
39+ run : npm install -g npm@latest
3840 - run : npm install
3941 - run : npx update-browserslist-db@latest
4042 - name : Build and bundle
6062 - name : Publish web-component to npmjs
6163 run : |
6264 cd dist/packages/web-component && npm publish --access=public
63- env :
64- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
6565 - name : Publish ngx-web-component to npmjs
6666 run : |
6767 cd dist/packages/ngx-web-component && npm publish --access=public
68- env :
69- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7068
7169 deploy :
7270 needs : publish
You can’t perform that action at this time.
0 commit comments