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 }}