Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
huhushirley committed Jul 15, 2024
1 parent 77c80db commit 7d36f0b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run test:coverage
- name: Install dependencies
- run: pnpm install --frozen-lockfile
- run: pnpm run build --if-present
- run: pnpm test
- run: pnpm run test:coverage
- name: Codecov
uses: codecov/codecov-action@v2
with:
Expand Down

0 comments on commit 7d36f0b

Please sign in to comment.