Skip to content

Commit

Permalink
chore: fix .github ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Mao committed May 7, 2023
1 parent 1f606f4 commit a7450dd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: pnpm

- name: Install
run: npm i pnpm -g && pnpm i
Expand All @@ -27,12 +28,18 @@ jobs:

test:
runs-on: ubuntu-latest

strategy:
matrix:
node: [16.x, 18.x]
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Set node
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: ${{ matrix.node }}

- name: Install
run: npm i pnpm -g && pnpm i
Expand Down

0 comments on commit a7450dd

Please sign in to comment.