Skip to content

Commit

Permalink
Merge pull request #1184 from NicoPennec/ci/matrix-testing
Browse files Browse the repository at this point in the history
Improve CI with matrix testing
  • Loading branch information
frankrousseau authored Sep 13, 2023
2 parents 1d19716 + 469b0b0 commit fa24ce1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ on:

jobs:
ci:
name: Test with Node ${{ matrix.node }}
runs-on: ubuntu-latest

strategy:
matrix:
node: [ 18, 20 ]
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: Run tests
env:
NODE_OPTIONS: "--max_old_space_size=8192"
Expand Down

0 comments on commit fa24ce1

Please sign in to comment.