2020-02-14 17:52:53 +08:00
|
|
|
name: Linting Checks
|
2020-01-09 03:24:39 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-01-30 19:11:39 +08:00
|
|
|
runs-on: ubuntu-16.04
|
2020-01-09 03:24:39 +08:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-01-30 19:11:39 +08:00
|
|
|
node-version: [10.x, 12.x, 13.x]
|
2020-01-09 03:24:39 +08:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: bootstrap
|
|
|
|
run: npm run bootstrap
|
|
|
|
- name: Build
|
|
|
|
run: npm run build
|
2020-02-14 17:52:53 +08:00
|
|
|
- name: Linting
|
2020-01-09 03:24:39 +08:00
|
|
|
run: npm run lint
|