From 7fdced0225f8892474e9cb90cbf1d658331105ef Mon Sep 17 00:00:00 2001 From: Sebastian Rindom Date: Fri, 21 Oct 2022 14:22:15 +0200 Subject: [PATCH] chore: Update snapshot this action (#2484) --- .github/workflows/snapshot-this.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snapshot-this.yml b/.github/workflows/snapshot-this.yml index 9b4b5b6968db6..6cc1eef8a2dcd 100644 --- a/.github/workflows/snapshot-this.yml +++ b/.github/workflows/snapshot-this.yml @@ -63,7 +63,7 @@ jobs: core.setFailed(`Request failed with error ${err}`) } - name: Checkout pull request branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ format('refs/pull/{0}/merge', github.event.issue.number) }} @@ -77,7 +77,7 @@ jobs: git checkout origin/main -- .changeset fi - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16.x cache: "yarn" @@ -87,6 +87,10 @@ jobs: with: extension: snapshot-this + - name: Build Packages + shell: "bash" + run: yarn build + - name: Create an .npmrc env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }}