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 1964cd0 commit 1f606f4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,16 @@ jobs:
run: pnpm lint

test:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node: [14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

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

- name: Install
run: npm i pnpm@7.1.1 -g && pnpm i
run: npm i pnpm -g && pnpm i

- name: Build
run: pnpm build
Expand Down

0 comments on commit 1f606f4

Please sign in to comment.