Skip to content

Commit

Permalink
build: optimize github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Jul 3, 2024
1 parent e987d9a commit d96e351
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js Env
- name: Setup Node.js Env and Test
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Prepare and Test
run: corepack enable && pnpm i && pnpm test
- run: corepack enable
- run: pnpm i
- run: pnpm test

- name: Create Release Pull Request or Publish
id: changesets
# https://github.com/changesets/action
uses: changesets/action@v1
with:
Expand Down

0 comments on commit d96e351

Please sign in to comment.