chore: Update snapshot this action (#2484)
This commit is contained in:
8
.github/workflows/snapshot-this.yml
vendored
8
.github/workflows/snapshot-this.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user