chore: Run tests with node 12, 14 & 16
parent
f8f620a13e
commit
96bd32226f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue