test(): run e2e tests in production mode (#24812)

This commit is contained in:
Liam DeBeasi
2022-02-18 14:21:43 -05:00
committed by GitHub
parent 2fc2de5177
commit 0a8f44359a
9 changed files with 1936 additions and 69 deletions

View File

@@ -29,9 +29,19 @@ runs:
name: ionic-react-router
path: ./packages/react-router
filename: ReactRouterBuild.zip
- uses: cypress-io/github-action@v2
with:
browser: chrome
headless: true
start: npm run start.ci
working-directory: ./packages/react/test-app
- name: Install Dependencies
run: npm install
shell: bash
working-directory: ./packages/react/test-app
- name: Sync
run: npm run sync
shell: bash
working-directory: ./packages/react/test-app
- name: Build
run: npm run build
shell: bash
working-directory: ./packages/react/test-app
- name: Run E2E Tests
run: npm run e2e
shell: bash
working-directory: ./packages/react/test-app