Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,8 +61,12 @@ jobs:
run: npx nx affected:lint --parallel=3 --max-warnings=0

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
name: Unit tests
runs-on: ${{matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All@@ -78,11 +82,18 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Unit test affected projects
run: npx nx affected:test --parallel=3
uses: Wandalen/wretry.action@master
with:
command: npx nx affected:test --parallel=3
attempt_limit: 2

e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
name: E2E tests
runs-on: ${{matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All@@ -98,7 +109,10 @@ jobs:
- name: Install dependencies
run: npm ci
- name: E2E test affected projects
run: npx nx affected:e2e --parallel=3
uses: Wandalen/wretry.action@master
with:
command: npx nx affected:e2e --parallel=3
attempt_limit: 2

build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion e2e/cli-e2e/vite.config.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@ export default defineConfig({
// },

test:{
testTimeout: 7000,
testTimeout: 20000,
globals: true,
cache:{
dir: '../../node_modules/.vitest',
Expand Down