Skip to content

Commit

Permalink
chore(deps): upgrade pnpm action-setup to v4 (#631)
Browse files Browse the repository at this point in the history
Fix failing setup step

Ref: pnpm/action-setup#135
  • Loading branch information
kschelonka authored Jul 3, 2024
1 parent 2601635 commit b426842
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Node.js Package
name: Node.js Package
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
merge_group:
push:
branches: ['main']
pull_request:
branches: ['main']
merge_group:
jobs:
##
# Runs semantic release in a regular
Expand All @@ -16,10 +16,10 @@ jobs:

# https://github.com/semantic-release/npm
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance

steps:
- name: Check out code
Expand All @@ -32,21 +32,21 @@ jobs:
with:
node-version: 20.14
registry-url: 'https://registry.npmjs.org'

- name: PNPM Setup
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 9
version: 9.1.4

- name: Install dependencies
run: pnpm i
# Need to update sendgrid to enable this
# - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
# run: pnpm audit signatures
# Need to update sendgrid to enable this
# - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
# run: pnpm audit signatures
- name: Semantic Release
run: pnpm run semantic-release
run: pnpm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# Need to update sendgrid to enable this
# NPM_CONFIG_PROVENANCE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# Need to update sendgrid to enable this
# NPM_CONFIG_PROVENANCE: true

0 comments on commit b426842

Please sign in to comment.