diff --git a/matrix.yaml b/matrix.yaml new file mode 100644 index 0000000..a035a34 --- /dev/null +++ b/matrix.yaml @@ -0,0 +1,19 @@ +name: Test matrix +on: push + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + node: [14, 16] + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - name: Install dependencies + run: npm ci + - name: Run tests + run: npm test