Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Apr 25, 2024
1 parent 724c9a3 commit 8bbe751
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:

- uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
- uses: pnpm/action-setup@v3

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x

- uses: pnpm/action-setup@v2
cache: pnpm

- name: Install dependencies
run: pnpm install
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:

- uses: pnpm/action-setup@v3

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm

- run: pnpm install

- run: pnpm run all
Expand All @@ -27,6 +33,12 @@ jobs:

- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm

- name: Fetch Captain
uses: ./
with:
Expand Down

0 comments on commit 8bbe751

Please sign in to comment.