Test with Node matrix

This commit is contained in:
grossmj 2022-07-22 22:36:37 +02:00
parent c59dd035eb
commit 714db5e399

View File

@ -10,14 +10,17 @@ on:
jobs: jobs:
build: build:
runs-on: windows-latest runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14, 16, 18 ]
name: Node ${{ matrix.node }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Setup node 14 - name: Setup ${{ matrix.node }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: 14.x node-version: ${{ matrix.node }}
- uses: c-hive/gha-yarn-cache@v1 - uses: c-hive/gha-yarn-cache@v1
- name: Install JS dependencies - name: Install JS dependencies
run: yarn install run: yarn install