Skip to content

Commit

Permalink
ci: remove bundler from e2e matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Feb 3, 2024
1 parent 2eaabf7 commit ee35640
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['18', '20']
bundler: ['vite', 'webpack']

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -57,37 +56,33 @@ jobs:
- name: Build source files
run: pnpm build

- name: E2E dev (base /)
working-directory: ./e2e
run: pnpm e2e:ci:dev
- name: E2E test (base /, webpack)
run: pnpm test:e2e
env:
E2E_BASE: /
E2E_BUNDLER: ${{ matrix.bundler }}
E2E_BUNDLER: webpack
E2E_COMMAND: dev

- name: E2E dev (base /e2e/)
working-directory: ./e2e
run: pnpm e2e:ci:dev
- name: E2E test (base /, vite)
run: pnpm test:e2e
env:
E2E_BASE: /e2e/
E2E_BUNDLER: ${{ matrix.bundler }}
E2E_BASE: /
E2E_BUNDLER: vite
E2E_COMMAND: dev

- name: E2E build (base /)
working-directory: ./e2e
run: pnpm e2e:ci:build
- name: E2E test (base /e2e/, webpack)
run: pnpm test:e2e
env:
E2E_BASE: /
E2E_BUNDLER: ${{ matrix.bundler }}
E2E_COMMAND: build
E2E_BASE: /e2e/
E2E_BUNDLER: webpack
E2E_COMMAND: dev

- name: E2E build (base /e2e/)
working-directory: ./e2e
run: pnpm e2e:ci:build
- name: E2E test (base /e2e/, vite)
run: pnpm test:e2e
env:
E2E_BASE: /e2e/
E2E_BUNDLER: ${{ matrix.bundler }}
E2E_COMMAND: build
E2E_BUNDLER: vite
E2E_COMMAND: dev

e2e-result:
if: ${{ always() }}
Expand Down

0 comments on commit ee35640

Please sign in to comment.