File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1010 - master
1111 - ' release/**'
1212
13+ permissions :
14+ id-token : write
15+ contents : read
16+
1317jobs :
1418 build :
1519 runs-on : ubuntu-latest
1620
1721 steps :
18- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v4
1923 - name : Set up Node.js
20- uses : actions/setup-node@v1
24+ uses : actions/setup-node@v4
2125 with :
2226 node-version : 18
2327 registry-url : ' https://registry.npmjs.org'
3135 - name : Deploy to NPM
3236 if : github.repository_owner == 'Authress' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
3337 run : npm publish --access public
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
3638
3739 - name : After build
3840 if : github.repository_owner == 'Authress' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
You can’t perform that action at this time.
0 commit comments