Let's try a different CI

merge-requests/12/head
Bsian 2020-05-17 00:01:33 +01:00
parent 563e0dd6bf
commit 8a19764223
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 11 additions and 33 deletions

View File

@ -1,37 +1,15 @@
name: Test stages:
- lint
- build
on: [push, pull_request] on: [push, pull_request]
jobs: lint:
lint: stage: lint
runs-on: debian-latest script:
strategy: - yarn lint
matrix:
node-version: [14.x]
steps: tsc:
- uses: actions/checkout@v1 stage: build
- name: Use Node.js ${{ matrix.node-version }} script:
uses: actions/setup-node@v1 - tsc -p tsconfig.json -noEmit
with:
node-version: ${{ matrix.node-version }}
- name: yarn install and lint
run: |
yarn install
yarn lint
tsc:
runs-on: debian-latest
strategy:
matrix:
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