Skip to content

Commit

Permalink
chore: switch to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 17, 2024
1 parent 072188f commit 35c4ddb
Show file tree
Hide file tree
Showing 4 changed files with 2,848 additions and 7,479 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,25 @@ jobs:

strategy:
matrix:
node_version: [14.x, 16.x, 18.x, 20.x]
node_version: [lts/*]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}

- uses: pnpm/action-setup@v3

- name: Install
run: npm i
run: pnpm i

- name: Lint
if: ${{ matrix.node_version == '14.x' }}
run: npm run lint
run: pnpm run lint

- name: Test
run: npm test
run: pnpm test
Loading

0 comments on commit 35c4ddb

Please sign in to comment.