Skip to content

Commit

Permalink
WIP: better parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss committed Jul 25, 2024
1 parent 448a512 commit 52ea15b
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: AUTO Pull Request validation
on: [pull_request]
jobs:
setup:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -16,24 +16,42 @@ jobs:
run: npm ci
- name: Bootstrap project
run: npm run bootstrap
lint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: Lint commit
run: npm run lint:commit
- name: Lint code
run: npm run lint:changes
vitest-tests:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Install Node 22
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Bootstrap project
run: npm run bootstrap
- name: Run vitest unit tests
run: npm run test:vitest
legacy-tests:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Install Node 22
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Bootstrap project
run: npm run bootstrap
- name: Run legacy unit tests
run: npm run test
- name: Run legacy jest tests
Expand Down

0 comments on commit 52ea15b

Please sign in to comment.