2020-03-22 18:56:55 +01:00
|
|
|
name: Lint
|
2020-01-16 22:50:02 +01:00
|
|
|
|
2020-03-22 18:56:55 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
2020-01-16 22:50:02 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- name: Setup Node.js 12.x
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 12.x
|
|
|
|
|
|
|
|
- name: Install and lint
|
|
|
|
run: |
|
|
|
|
npm ci
|
2020-02-02 19:04:35 +01:00
|
|
|
npm run test:other
|
2020-01-16 22:50:02 +01:00
|
|
|
npm run test:code
|
2020-03-15 05:12:39 +01:00
|
|
|
npm run test:typecheck
|
2020-01-16 22:50:02 +01:00
|
|
|
env:
|
|
|
|
CI: true
|