File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed
Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches : [ master ]
99
10+ permissions :
11+ id-token : write
12+ contents : read
13+
1014jobs :
1115 build :
1216 runs-on : ubuntu-latest
1317
1418 steps :
15- - uses : actions/checkout@v2
16-
17- - name : install
18- run : npm ci
19-
20- - uses : actions/setup-node@v1
19+ - uses : actions/checkout@v5
20+ - uses : actions/setup-node@v6
2121 with :
22- node-version : ' 16.x '
22+ node-version : 24
2323 registry-url : https://registry.npmjs.org/
24- scope : netatwork
25-
26- - name : build
27- run : npm run build
2824
29- # Note that this does not takes care of the versioning.
30- # Changelog generation, version tagging needs to be done, prior to this.
25+ - run : npm ci
26+ - run : npm run build
3127
32- - name : publish to npm
33- run : npm publish --access public --@netatwork:registry=https://registry.npmjs.org/
28+ - run : npm publish
3429 if : startsWith(github.ref, 'refs/tags/v')
35- env :
36- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments