Skip to content

Commit

Permalink
fix: remove duplicate e2e test run
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Mar 30, 2023
1 parent 3edc1b1 commit ceb7474
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 40 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build test application
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: npm run build-no-minify
- name: Run E2E tests on ${{ matrix.project }}
run: npx playwright test --project ${{ matrix.project }}
continue-on-error: ${{ matrix.project == 'webkit' }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.project }}
path: test-results

lint:
runs-on: ubuntu-latest
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/e2e.yml

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
- name: Build test application
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: npm run build-no-minify
- name: Run E2E tests on ${{ matrix.project }}
run: npx playwright test --project ${{ matrix.project }}
continue-on-error: ${{ matrix.project == 'webkit' }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.project }}
path: test-results

lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ceb7474

Please sign in to comment.