Skip to content

Commit 9ac1f61

Browse files
committed
chore(deps): upgrade pnpm action-setup to v4
Fix failing setup step Ref: pnpm/action-setup#135
1 parent 2601635 commit 9ac1f61

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/publish.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Node.js Package
1+
name: Node.js Package
22
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:
88
jobs:
99
##
1010
# Runs semantic release in a regular
@@ -16,10 +16,10 @@ jobs:
1616

1717
# https://github.com/semantic-release/npm
1818
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
2323

2424
steps:
2525
- name: Check out code
@@ -32,21 +32,21 @@ jobs:
3232
with:
3333
node-version: 20.14
3434
registry-url: 'https://registry.npmjs.org'
35-
35+
3636
- name: PNPM Setup
37-
uses: pnpm/action-setup@v2
37+
uses: pnpm/action-setup@v4
3838
with:
3939
version: 9
40-
40+
4141
- name: Install dependencies
4242
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
4646
- name: Semantic Release
47-
run: pnpm run semantic-release
47+
run: pnpm run semantic-release
4848
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

Comments
 (0)