From 16fc74d901c2e8ac67486a1da034de10d15aa922 Mon Sep 17 00:00:00 2001 From: Shane Jonas Date: Mon, 29 Apr 2024 15:57:55 -0400 Subject: [PATCH 1/3] Fixed npm publish via downgrading action --- .github/workflows/publish-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a067537..5335fde 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -62,7 +62,7 @@ jobs: key: ${{ github.sha }} - name: Dry Run Publish # omit npm-token token to perform dry run publish - uses: MetaMask/action-npm-publish@v4 + uses: MetaMask/action-npm-publish@v1 with: slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} subteam: S042S7RE4AE # @metamask-npm-publishers From 089c2e8daff5b36f9ca8d4d644e7eba51bc69820 Mon Sep 17 00:00:00 2001 From: Shane Jonas Date: Mon, 29 Apr 2024 16:00:24 -0400 Subject: [PATCH 2/3] Fixed missing version downgrade of action --- .github/workflows/publish-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 5335fde..d96eff6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -84,7 +84,7 @@ jobs: ./node_modules/.yarn-state.yml key: ${{ github.sha }} - name: Publish - uses: MetaMask/action-npm-publish@v5 + uses: MetaMask/action-npm-publish@v1 with: # This `NPM_TOKEN` needs to be manually set per-repository. # Look in the repository settings under "Environments", and set this token in the `npm-publish` environment. From fa5da06550b555c2ed859987c8f023f61121461d Mon Sep 17 00:00:00 2001 From: Shane Jonas Date: Mon, 29 Apr 2024 16:07:12 -0400 Subject: [PATCH 3/3] Removed unused params for v1 action --- .github/workflows/publish-release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d96eff6..3b8d666 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -63,9 +63,6 @@ jobs: - name: Dry Run Publish # omit npm-token token to perform dry run publish uses: MetaMask/action-npm-publish@v1 - with: - slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} - subteam: S042S7RE4AE # @metamask-npm-publishers env: SKIP_PREPACK: true publish-npm: