File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 77 description : override release tag
88 required : false
99 push :
10- branches : [' main', ' alpha', ' beta' ]
10+ branches : [main, alpha, beta]
1111
1212concurrency :
1313 group : ${{ github.workflow }}-${{ github.event.number || github.ref }}
@@ -16,6 +16,10 @@ concurrency:
1616env :
1717 NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
1818
19+ permissions :
20+ contents : write
21+ id-token : write
22+
1923jobs :
2024 test-and-publish :
2125 name : Test & Publish
4246 npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
4347 pnpm run cipublish
4448 env :
45- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
46- GH_TOKEN : ${{ secrets.GH_TOKEN }}
49+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4750 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
48- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4951 TAG : ${{ inputs.tag }}
5052 - name : Upload coverage to Codecov
5153 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ concurrency:
1414env :
1515 NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
1616
17+ permissions :
18+ contents : read
19+
1720jobs :
1821 test :
1922 name : Test
3033 - name : Get base and head commits for `nx affected`
3134 uses : nrwl/nx-set-shas@v4
3235 with :
33- main-branch-name : ' main'
36+ main-branch-name : main
3437 - name : Run Checks
3538 run : pnpm run test:pr --parallel=3
3639 - name : Stop Nx Agents
Original file line number Diff line number Diff line change 11link-workspace-packages = true
22prefer-workspace-packages = true
3+ provenance = true
Original file line number Diff line number Diff line change 1- v18. 20.3
1+ 20.15.1
You can’t perform that action at this time.
0 commit comments