From 5b4ddd1693f450f0218fa804cb5a7631c89f96b5 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 18 Apr 2023 21:04:13 +0000 Subject: [PATCH] Created the ci workflow --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3ee8a17 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file