merge-requests/12/head
Bsian 2020-05-16 23:52:30 +01:00
parent 830f81b8f6
commit cfc2c7017b
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 37 additions and 0 deletions

37
gitlab-ci.yaml Normal file
View File

@ -0,0 +1,37 @@
name: Test
on: [push, pull_request]
jobs:
lint:
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 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