1
- name : Node.js Package
1
+ name : Node.js Package
2
2
on :
3
- push :
4
- branches : [" main"]
5
- pull_request :
6
- branches : [" main" ]
7
- merge_group :
3
+ push :
4
+ branches : [' main']
5
+ pull_request :
6
+ branches : [' main' ]
7
+ merge_group :
8
8
jobs :
9
9
# #
10
10
# Runs semantic release in a regular
@@ -16,10 +16,10 @@ jobs:
16
16
17
17
# https://github.com/semantic-release/npm
18
18
permissions :
19
- contents : write # to be able to publish a GitHub release
20
- issues : write # to be able to comment on released issues
21
- pull-requests : write # to be able to comment on released pull requests
22
- id-token : write # to enable use of OIDC for npm provenance
19
+ contents : write # to be able to publish a GitHub release
20
+ issues : write # to be able to comment on released issues
21
+ pull-requests : write # to be able to comment on released pull requests
22
+ id-token : write # to enable use of OIDC for npm provenance
23
23
24
24
steps :
25
25
- name : Check out code
@@ -32,21 +32,21 @@ jobs:
32
32
with :
33
33
node-version : 20.14
34
34
registry-url : ' https://registry.npmjs.org'
35
-
35
+
36
36
- name : PNPM Setup
37
- uses : pnpm/action-setup@v2
37
+ uses : pnpm/action-setup@v4
38
38
with :
39
39
version : 9
40
-
40
+
41
41
- name : Install dependencies
42
42
run : pnpm i
43
- # Need to update sendgrid to enable this
44
- # - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
45
- # run: pnpm audit signatures
43
+ # Need to update sendgrid to enable this
44
+ # - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
45
+ # run: pnpm audit signatures
46
46
- name : Semantic Release
47
- run : pnpm run semantic-release
47
+ run : pnpm run semantic-release
48
48
env :
49
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
51
- # Need to update sendgrid to enable this
52
- # NPM_CONFIG_PROVENANCE: true
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
51
+ # Need to update sendgrid to enable this
52
+ # NPM_CONFIG_PROVENANCE: true
0 commit comments