Skip to content

Commit

Permalink
chore: fix release action (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
supertong authored Aug 26, 2023
1 parent 2a06408 commit 2a24b15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
uses: actions/checkout@v2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0


- name: Setup Node.js 12.x
uses: actions/setup-node@master
- name: Setup Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 16.x

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@master
uses: changesets/action@v1
with:
# this expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
Expand Down

0 comments on commit 2a24b15

Please sign in to comment.