mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://redirect.github.com/actions/setup-node) | action | major | `v4` -> `v5` | --- ### Release Notes <details> <summary>actions/setup-node (actions/setup-node)</summary> ### [`v5`](https://redirect.github.com/actions/setup-node/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday before 11am" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/ionic-team/ionic-framework). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: 'Test React E2E'
|
|
description: 'Test React E2E'
|
|
inputs:
|
|
app:
|
|
description: 'The specific test application'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: 22.x
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-core
|
|
path: ./core
|
|
filename: CoreBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-react
|
|
path: ./packages/react
|
|
filename: ReactBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
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/test
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
shell: bash
|
|
working-directory: ./packages/react/test/build/${{ inputs.app }}
|
|
- name: Sync Built Changes
|
|
run: npm run sync
|
|
shell: bash
|
|
working-directory: ./packages/react/test/build/${{ inputs.app }}
|
|
- name: Build
|
|
run: npm run build
|
|
shell: bash
|
|
working-directory: ./packages/react/test/build/${{ inputs.app }}
|
|
- name: Run Tests
|
|
run: npm run e2e
|
|
shell: bash
|
|
working-directory: ./packages/react/test/build/${{ inputs.app }}
|
|
|