chore: Run tests with node 12, 14 & 16

pull/33/head
Boaz Poolman 2021-12-21 19:47:19 +01:00
parent f8f620a13e
commit 96bd32226f
1 changed files with 8 additions and 2 deletions

View File

@ -11,11 +11,14 @@ jobs:
lint: lint:
name: 'lint' name: 'lint'
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14' node-version: ${{ matrix.node }}
cache: 'yarn' cache: 'yarn'
- name: Install dependencies - name: Install dependencies
run: yarn --ignore-scripts --frozen-lockfile run: yarn --ignore-scripts --frozen-lockfile
@ -25,11 +28,14 @@ jobs:
# name: 'unit' # name: 'unit'
# needs: [lint] # needs: [lint]
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# strategy:
# matrix:
# node: [12, 14, 16]
# steps: # steps:
# - uses: actions/checkout@v2 # - uses: actions/checkout@v2
# - uses: actions/setup-node@v2 # - uses: actions/setup-node@v2
# with: # with:
# node-version: '14' # node-version: ${{ matrix.node }}
# cache: 'yarn' # cache: 'yarn'
# - name: Install dependencies # - name: Install dependencies
# run: yarn --ignore-scripts --frozen-lockfile # run: yarn --ignore-scripts --frozen-lockfile