Skip to content

Commit

Permalink
split CI tasks (#1541)
Browse files Browse the repository at this point in the history
* f

* f

* f
  • Loading branch information
samijaber authored Aug 29, 2024
1 parent 1b30471 commit 8c48353
Showing 1 changed file with 39 additions and 5 deletions.
44 changes: 39 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

jobs:
checks:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup
Expand All @@ -33,11 +33,45 @@ jobs:
- name: Lint
run: yarn ci:lint

build:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: 📥 Monorepo install
uses: ./.github/actions/yarn-nm-install
with:
cache-node-modules: true
cache-install-state: true

- name: Build
run: yarn ci:build
run: yarn ci:build --verbose

test:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: 📥 Monorepo install
uses: ./.github/actions/yarn-nm-install
with:
cache-node-modules: true
cache-install-state: true

- name: Run tests
run: yarn ci:test
run: yarn ci:test --verbose

site:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +111,7 @@ jobs:
cache-install-state: true

- name: Build
run: yarn ci:build
run: yarn ci:build --verbose

- name: Run E2E tests
run: yarn ci:e2e
run: yarn ci:e2e --verbose

0 comments on commit 8c48353

Please sign in to comment.