Skip to content

Commit

Permalink
chore: Update snapshot this action (#2484)
Browse files Browse the repository at this point in the history
  • Loading branch information
srindom authored Oct 21, 2022
1 parent 26627c6 commit 7fdced0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/snapshot-this.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}

Expand All @@ -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"
Expand All @@ -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 }}
Expand Down

0 comments on commit 7fdced0

Please sign in to comment.