Skip to content

Latest commit

 

History

History
48 lines (43 loc) · 1.15 KB

SOLUTION.md

File metadata and controls

48 lines (43 loc) · 1.15 KB
Final CI config
name: Run CI checks

on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    name: Building affected apps
    steps:
      - uses: actions/checkout@v4
      - uses: bahmutov/npm-install@v1
      - run: npm run nx affected -- --target=build --base=origin/master --parallel
  test:
    runs-on: ubuntu-latest
    name: Testing affected apps
    steps:
      - uses: actions/checkout@v4
      - uses: bahmutov/npm-install@v1
      - run: npm run nx affected -- --target=test --base=origin/master --parallel
  lint:
    runs-on: ubuntu-latest
    name: Linting affected apps
    steps:
      - uses: actions/checkout@v4
      - uses: bahmutov/npm-install@v1
      - run: npm run nx affected -- --target=lint --base=origin/master --parallel
  e2e:
    runs-on: ubuntu-latest
    name: E2E testing affected apps
    steps:
      - uses: actions/checkout@v4
      - uses: bahmutov/npm-install@v1
      - run: npm run nx affected -- --target=e2e --base=origin/master --parallel
Marking all projects as affected
{
  "namedInputs": {
    // ...
    "sharedGlobals": [, /*..*/ "{workspaceRoot}/.github/workflows/ci.yml"]
  }
}