Skip to content

Commit

Permalink
chore: add e2e target to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Aug 29, 2023
1 parent 0fde5f3 commit c3f695f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,27 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Test affected projects
run: npx nx affected:test --parallel=3 --configuration=ci
run: npx nx affected:test --parallel=3

e2e:
runs-on: ubuntu-latest
name: E2E tests
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Set base and head for Nx affected commands
uses: nrwl/nx-set-shas@v3
- name: Install dependencies
run: npm ci
- name: Test affected projects
run: npx nx affected:e2e --parallel=3

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c3f695f

Please sign in to comment.