From 3bfcf26c9829fecfda7c476246f2e3f99b0f069f Mon Sep 17 00:00:00 2001 From: Kat Schelonka Date: Wed, 3 Jul 2024 11:01:56 -0700 Subject: [PATCH] chore(deps): upgrade pnpm action-setup to v4 Fix failing setup step Ref: https://github.com/pnpm/action-setup/issues/135 --- .github/workflows/publish.yml | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ba551148..91993fcf5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 @@ -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 \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + # Need to update sendgrid to enable this + # NPM_CONFIG_PROVENANCE: true