File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Npm.js deploy
22permissions :
3+ id-token : write
34 contents : read
45
56on :
@@ -10,12 +11,16 @@ jobs:
1011 build :
1112 runs-on : ubuntu-latest
1213 steps :
13- - uses : actions/checkout@v3
14- - uses : actions/setup-node@v3
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1516 with :
1617 node-version : 22
1718 cache : ' npm'
1819 registry-url : ' https://registry.npmjs.org'
20+
21+ - name : Update NPM
22+ run : npm install -g npm@latest
23+
1924 - run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
2025 - run : echo ${VERSION}
2126
6065 - name : Publish igniteui-angular
6166 run : npm publish --tag ${NPM_TAG}
6267 working-directory : dist/igniteui-angular
63- env :
64- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
6568
6669 - name : Publish igniteui-angular-i18n
6770 run : npm publish --tag ${NPM_TAG}
6871 working-directory : dist/igniteui-angular-i18n
69- env :
70- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments