From 563e0dd6bff4668d39bc8c35314196c408952d2a Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 16 May 2020 23:57:34 +0100 Subject: [PATCH] This time adding the damn file --- .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..08338ef --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file