File tree 4 files changed +12
-6
lines changed
4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 7
7
description : override release tag
8
8
required : false
9
9
push :
10
- branches : [' main', ' alpha', ' beta' ]
10
+ branches : [main, alpha, beta]
11
11
12
12
concurrency :
13
13
group : ${{ github.workflow }}-${{ github.event.number || github.ref }}
@@ -16,6 +16,10 @@ concurrency:
16
16
env :
17
17
NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
18
18
19
+ permissions :
20
+ contents : write
21
+ id-token : write
22
+
19
23
jobs :
20
24
test-and-publish :
21
25
name : Test & Publish
42
46
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
43
47
pnpm run cipublish
44
48
env :
45
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
46
- GH_TOKEN : ${{ secrets.GH_TOKEN }}
49
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
50
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
48
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
49
51
TAG : ${{ inputs.tag }}
50
52
- name : Upload coverage to Codecov
51
53
uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ concurrency:
14
14
env :
15
15
NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
16
16
17
+ permissions :
18
+ contents : read
19
+
17
20
jobs :
18
21
test :
19
22
name : Test
30
33
- name : Get base and head commits for `nx affected`
31
34
uses : nrwl/nx-set-shas@v4
32
35
with :
33
- main-branch-name : ' main'
36
+ main-branch-name : main
34
37
- name : Run Checks
35
38
run : pnpm run test:pr --parallel=3
36
39
- name : Stop Nx Agents
Original file line number Diff line number Diff line change 1
1
link-workspace-packages = true
2
2
prefer-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