2019-10-01 22:08:40 +02:00
|
|
|
name: CI
|
|
|
|
|
2019-10-03 11:18:43 +02:00
|
|
|
on: [push, pull_request]
|
2019-10-01 22:08:40 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
|
|
|
name: Node ${{ matrix.node_version }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2020-03-03 23:59:19 +01:00
|
|
|
node_version: [8, 10, 12, 13]
|
2019-10-01 22:08:40 +02:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-03-03 23:59:19 +01:00
|
|
|
- uses: actions/checkout@v2.3.1
|
2019-10-01 22:08:40 +02:00
|
|
|
- name: Use Node ${{ matrix.node_version }}
|
2020-03-03 23:59:19 +01:00
|
|
|
uses: actions/setup-node@v2.1.1
|
2019-10-01 22:08:40 +02:00
|
|
|
with:
|
2020-03-03 23:59:19 +01:00
|
|
|
node_version: ${{ matrix.node_version }}
|
2019-10-01 22:08:40 +02:00
|
|
|
- name: Install
|
2020-03-03 23:59:19 +01:00
|
|
|
run: yarn
|
|
|
|
- name: Bootstrap Lerna
|
|
|
|
run: yarn bootstrap
|
2019-10-01 22:08:40 +02:00
|
|
|
- name: Lint
|
|
|
|
run: yarn lint
|
2020-03-03 23:59:19 +01:00
|
|
|
- name: Clean
|
|
|
|
run: yarn clean
|
|
|
|
- name: Build
|
|
|
|
run: yarn build
|
2019-10-01 22:08:40 +02:00
|
|
|
- name: Test
|
|
|
|
run: yarn test
|