Collapse actions matrix (#294)

This commit is contained in:
Jaco Greeff
2020-03-16 14:42:33 +01:00
committed by GitHub
parent 1eef52e286
commit 6c55f6ea53
5 changed files with 48 additions and 74 deletions
+8 -24
View File
@@ -5,15 +5,11 @@ jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: lint
run: |
yarn install --immutable | grep -v 'YN0013'
@@ -22,15 +18,11 @@ jobs:
test:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: test
run: |
yarn install --immutable | grep -v 'YN0013'
@@ -39,15 +31,11 @@ jobs:
build_code:
name: Build Code
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: build
run: |
yarn install --immutable | grep -v 'YN0013'
@@ -56,15 +44,11 @@ jobs:
build_docs:
name: Build Docs
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: '12.x'
- name: build
run: |
yarn install --immutable | grep -v 'YN0013'