Merge pull request #41 from polkadot-js/jg-actions-split

Split GH actions
This commit is contained in:
Jaco Greeff 2019-10-04 12:03:34 +02:00 committed by GitHub
commit 09c0a115a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
name: Node CI
on: [push]
name: CI
on: push
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
@ -16,10 +16,11 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn install
yarn install --frozen-lockfile
yarn lint
test:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
@ -32,10 +33,11 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: test
run: |
yarn install
yarn install --frozen-lockfile
yarn test
build:
build_code:
name: Build Code
runs-on: ubuntu-latest
strategy:
matrix:
@ -48,7 +50,5 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn install
yarn install --frozen-lockfile
yarn build
env:
CI: true