From e685ed12d6aa0998d57b3cd970505b77e24924ff Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sat, 20 Jul 2024 13:18:12 +0200 Subject: [PATCH] Create ci.yml 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