fix matrix

This commit is contained in:
Will Hunt 2020-12-13 15:01:46 +00:00
parent df9b84c3ec
commit 716d261bc0

View File

@ -19,6 +19,17 @@ jobs:
node-version: 12
- run: yarn
- run: yarn lint
config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: node lib/Config/Defaults.js > expected-config.sample.yml
- run: cmp --silent config.sample.yml expected-config.sample.yml
test:
runs-on: ubuntu-latest
strategy:
@ -31,18 +42,4 @@ jobs:
with:
node-version: ${{ matrix.node_version }}
- run: yarn
- run: yarn test
config:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ['14', '12']
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: node lib/Config/Defaults.js > expected-config.sample.yml
- run: cmp --silent config.sample.yml expected-config.sample.yml
- run: yarn test