Created the ci workflow

This commit is contained in:
Mathias Wagner 2023-01-15 02:06:32 +01:00
parent d93d46b9b9
commit 0ebdeadecb
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

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