Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Collapse CI workflows into one
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed Dec 4, 2023
1 parent 0c7367a commit 2ff394d
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2ff394d

Please sign in to comment.