Let's try a different CI
parent
563e0dd6bf
commit
8a19764223
|
@ -1,37 +1,15 @@
|
||||||
name: Test
|
stages:
|
||||||
|
- lint
|
||||||
|
- build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: debian-latest
|
stage: lint
|
||||||
strategy:
|
script:
|
||||||
matrix:
|
- yarn lint
|
||||||
node-version: [14.x]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: yarn install and lint
|
|
||||||
run: |
|
|
||||||
yarn install
|
|
||||||
yarn lint
|
|
||||||
tsc:
|
tsc:
|
||||||
runs-on: debian-latest
|
stage: build
|
||||||
strategy:
|
script:
|
||||||
matrix:
|
- tsc -p tsconfig.json -noEmit
|
||||||
node-version: [14.x]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- name: yarn install and tsc
|
|
||||||
run: |
|
|
||||||
yarn install
|
|
||||||
tsc -p tsconfig.json --noEmit
|
|
Loading…
Reference in New Issue