From 2ff394d801c71c9d10839e6fb5218a2a5351c57f Mon Sep 17 00:00:00 2001 From: Florian Dejonckheere Date: Mon, 4 Dec 2023 18:15:15 +0100 Subject: [PATCH] Collapse CI workflows into one --- .github/workflows/ci.yml | 42 +++++++++++++++------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84dca90..0b1580c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,35 +9,25 @@ on: - master jobs: - lint: + app: + name: Continuous Integration runs-on: ubuntu-22.04 - name: Lint - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - - run: yarn - - run: yarn lint - build: - runs-on: ubuntu-22.04 - needs: lint - name: Build - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: '18' - - run: yarn - - run: yarn build - test: - runs-on: ubuntu-22.04 - needs: build - name: Test + steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '18' - - run: yarn - - run: yarn test + + - name: Install dependencies + run: yarn + + - name: Lint + run: yarn lint + + - name: Test + run: yarn test + + - name: Build + run: yarn build