chore: Run tests with node 12, 14 & 16
parent
f8f620a13e
commit
96bd32226f
|
@ -11,11 +11,14 @@ jobs:
|
|||
lint:
|
||||
name: 'lint'
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14, 16]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: 'yarn'
|
||||
- name: Install dependencies
|
||||
run: yarn --ignore-scripts --frozen-lockfile
|
||||
|
@ -25,11 +28,14 @@ jobs:
|
|||
# name: 'unit'
|
||||
# needs: [lint]
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# matrix:
|
||||
# node: [12, 14, 16]
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/setup-node@v2
|
||||
# with:
|
||||
# node-version: '14'
|
||||
# node-version: ${{ matrix.node }}
|
||||
# cache: 'yarn'
|
||||
# - name: Install dependencies
|
||||
# run: yarn --ignore-scripts --frozen-lockfile
|
||||
|
|
Loading…
Reference in New Issue