From 0ebdeadecb208c06551536127b60340d90b4ba5d Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 15 Jan 2023 02:06:32 +0100 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