Skip to content

Commit

Permalink
Bump MetaMask/action-npm-publish to v5 (#2708)
Browse files Browse the repository at this point in the history
This fixes an issue with Yarn 4 compatibility.
  • Loading branch information
Mrtenz authored Sep 11, 2024
1 parent a14c2be commit 106482f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
npm-tag: ${{ needs.get-release-tag.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- name: Build
run: |
yarn install --immutable
yarn build
- uses: actions/cache@v4
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
fail-on-cache-miss: true
- run: npm config set ignore-scripts true
- name: Dry Run Publish
uses: MetaMask/action-npm-publish@v4
uses: MetaMask/action-npm-publish@v5
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
subteam: ${{ inputs.slack-subteam }}
Expand All @@ -121,7 +122,7 @@ jobs:
key: ${{ github.sha }}
fail-on-cache-miss: true
- name: Publish ${{ needs.get-release-tag.outputs.tag }} to NPM
uses: MetaMask/action-npm-publish@v4
uses: MetaMask/action-npm-publish@v5
with:
npm-token: ${{ secrets.NPM_TOKEN }}
npm-tag: ${{ needs.get-release-tag.outputs.tag }}
Expand Down

0 comments on commit 106482f

Please sign in to comment.