Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsq committed Aug 15, 2024
1 parent 73faad1 commit aeac68f
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ on:

jobs:
build:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm test
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9.0.6
- uses: actions/setup-node@v4
with:
node-version: 20.12.2
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm test

0 comments on commit aeac68f

Please sign in to comment.