Skip to content

Commit

Permalink
run all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Oct 2, 2024
1 parent a65e0d8 commit c313da3
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: CI

on:
push:
branches: ["main", "react-demo-app"]
branches: ["main", "react-demo-app"] # remove "react-demo-app" before merge to main
pull_request:
types: [opened, synchronize]

concurrency:
group: pr-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
name: Build
Expand All @@ -19,15 +23,32 @@ jobs:
- name: Build
run: pnpm build

lint:
name: Lint
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/install

- name: Lint
run: pnpm lint

unit:
name: Unit
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/install
- name: Test
run: pnpm test

e2e:
# Depend on build job to ensure the build is completed before running E2E tests
needs: [build]
# needs: [build]
name: E2E
timeout-minutes: 15
runs-on: ubuntu-latest
Expand Down

0 comments on commit c313da3

Please sign in to comment.