Skip to content
Snippets Groups Projects
Unverified Commit 5263576d authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

ci: test matrix on nodejs 18/20/21 (#687)

parent 6d4e2ea0
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,11 @@ on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 21.x]
name: Test on Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
steps:
......@@ -12,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment