Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercosmos committed Mar 10, 2024
1 parent 6642c2a commit ef8703f
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,50 @@ on:
- master

jobs:
test:
test-ubuntu:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16, 18, 20]
node-version: [20, 21]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Run tests
run: npm test

test-macos:
runs-on: macos-latest

strategy:
matrix:
node-version: [20, 21]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Run tests
run: npm test

test-windows:
runs-on: windows-latest

strategy:
matrix:
node-version: [20, 21]

steps:
- name: Checkout repository
Expand Down

0 comments on commit ef8703f

Please sign in to comment.