Skip to content

Commit

Permalink
pkg: update ci with os/node matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Jun 14, 2023
1 parent 08a214c commit 1228eb2
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: Default
script: test-default
- name: Compat
script: test-compat
- name: Stable
script: test-stable
os: [ubuntu-latest, windows-latest, macos-latest]
node: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3

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

- name: Install dependencies
run: npm install

- name: Test ${{ matrix.name }}
run: npm run ${{ matrix.script }}
- name: Test
run: npm run test


0 comments on commit 1228eb2

Please sign in to comment.