build: fix workflows for node 10

This commit is contained in:
Zack Schuster 2021-08-28 12:04:01 -07:00
parent d7b9236ed0
commit 63401a0868
2 changed files with 10 additions and 0 deletions

View File

@ -19,7 +19,12 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: install (node 10)
if: matrix.node == '^10'
run: yarn install --ignore-engines
- name: install
if: matrix.node != '^10'
run: yarn install
- name: lint

View File

@ -19,7 +19,12 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: install (node 10)
if: matrix.node == '^10'
run: yarn install --ignore-engines
- name: install
if: matrix.node != '^10'
run: yarn install
- name: test