Skip to content

Commit

Permalink
ci: change matrix to active lts + other os
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Jun 30, 2022
1 parent 135c9ad commit 84755e4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 17]
os: [ubuntu-latest]
node_version: [14, 16, 18]
include:
# Active LTS + other OS
- os: macos-latest
node_version: 16
- os: windows-latest
node_version: 16

steps:
- name: Checkout repo
Expand All @@ -23,10 +30,10 @@ jobs:
with:
version: 6

- name: Set node version to ${{ matrix.node }}
- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node_version }}
registry-url: https://registry.npmjs.org/
cache: pnpm

Expand Down

0 comments on commit 84755e4

Please sign in to comment.