File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 77 push :
88 branches : [ "main" ]
99 workflow_dispatch :
10-
10+
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 release :
1316 runs-on : ubuntu-latest
17+ environment : npm
18+ permissions :
19+ id-token : write
20+ contents : write
21+ issues : write
22+ pull-requests : write
1423 steps :
1524 - uses : actions/checkout@v4
1625 with :
1928 with :
2029 node-version : 20
2130 registry-url : https://registry.npmjs.org/
31+ always-auth : true
32+ env :
33+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
34+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # required for semantic-release / CI
2235 - name : Enable Corepack (Yarn 4)
2336 run : corepack enable
2437 - run : yarn install --immutable
2942 env :
3043 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3144 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
45+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # required for semantic-release / CI
You can’t perform that action at this time.
0 commit comments