Skip to content

Commit

Permalink
Testing different way of doing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Joery-M committed Apr 15, 2024
1 parent 682ab82 commit 4a303ca
Showing 1 changed file with 41 additions and 8 deletions.
49 changes: 41 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: ['main']

jobs:
test:
setup:
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -47,20 +47,53 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build Darkroom
run: pnpm build:darkroom
build-safelight:
runs-on: ubuntu-latest
needs: [setup, build-darkroom, build-timeline, test-shared]

- name: Build Timeline
run: pnpm build:timeline
strategy:
matrix:
node-version: [20.12.0] # Latest LTS

steps:
- name: Build safelight
run: pnpm build:safelight
build-darkroom:
runs-on: ubuntu-latest
needs: [setup]

strategy:
matrix:
node-version: [20.12.0] # Latest LTS

steps:
- name: Build Darkroom
run: pnpm build:darkroom

- name: Test darkroom
run: pnpm test:darkroom
build-timeline:
runs-on: ubuntu-latest
needs: [setup]

- name: Test shared
run: pnpm test:shared
strategy:
matrix:
node-version: [20.12.0] # Latest LTS

steps:
- name: Build Timeline
run: pnpm build:timeline

- name: Test timeline
- name: Test Timeline
run: pnpm test:timeline
test-shared:
runs-on: ubuntu-latest
needs: [setup]

strategy:
matrix:
node-version: [20.12.0] # Latest LTS

steps:
- name: Test shared
run: pnpm test:shared

0 comments on commit 4a303ca

Please sign in to comment.