test(react-router): migrate to builder architecture (#26961)

This commit is contained in:
Liam DeBeasi
2023-03-17 17:13:21 -04:00
committed by GitHub
parent 88bd8a47c5
commit 115f2b5fa4
172 changed files with 2310 additions and 4505 deletions

View File

@@ -1,5 +1,8 @@
name: 'Test React Router E2E'
description: 'Test React Router '
description: 'Test React Router'
inputs:
app:
description: 'The specific test application'
runs:
using: 'composite'
steps:
@@ -21,19 +24,23 @@ runs:
name: ionic-react-router
path: ./packages/react-router
filename: ReactRouterBuild.zip
- name: Create Test App
run: ./build.sh ${{ inputs.app }}
shell: bash
working-directory: ./packages/react-router/test
- name: Install Dependencies
run: npm install
shell: bash
working-directory: ./packages/react-router/test-app
- name: Sync
working-directory: ./packages/react-router/test/build/${{ inputs.app }}
- name: Sync Built Changes
run: npm run sync
shell: bash
working-directory: ./packages/react-router/test-app
working-directory: ./packages/react-router/test/build/${{ inputs.app }}
- name: Build
run: npm run build
shell: bash
working-directory: ./packages/react-router/test-app
- name: Run E2E Tests
working-directory: ./packages/react-router/test/build/${{ inputs.app }}
- name: Run Tests
run: npm run e2e
shell: bash
working-directory: ./packages/react-router/test-app
working-directory: ./packages/react-router/test/build/${{ inputs.app }}