chore: Update snapshot this action (#2484)

This commit is contained in:
Sebastian Rindom
2022-10-21 14:22:15 +02:00
committed by GitHub
parent 26627c69a9
commit 7fdced0225

View File

@@ -63,7 +63,7 @@ jobs:
core.setFailed(`Request failed with error ${err}`) core.setFailed(`Request failed with error ${err}`)
} }
- name: Checkout pull request branch - name: Checkout pull request branch
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ format('refs/pull/{0}/merge', github.event.issue.number) }} ref: ${{ format('refs/pull/{0}/merge', github.event.issue.number) }}
@@ -77,7 +77,7 @@ jobs:
git checkout origin/main -- .changeset git checkout origin/main -- .changeset
fi fi
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: 16.x node-version: 16.x
cache: "yarn" cache: "yarn"
@@ -87,6 +87,10 @@ jobs:
with: with:
extension: snapshot-this extension: snapshot-this
- name: Build Packages
shell: "bash"
run: yarn build
- name: Create an .npmrc - name: Create an .npmrc
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}