Created the ci workflow

This commit is contained in:
Mathias Wagner 2023-04-18 21:04:13 +00:00
parent 0ecc0fb301
commit 5b4ddd1693

32
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: CI
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install Dependencies
run: yarn ci:install
- name: Run linter
run: yarn run ci:eslint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install Dependencies
run: yarn run ci:install
- name: Compile Typescript
run: yarn run ci:tsc