mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> `action/setup-node@v3` shipped a "breaking" change that requires node v18. This breaks our dev build release process. https://github.com/ionic-team/ionic-framework/actions/runs/6044495970/job/16403194005 ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Updates the publish action to use node v18 ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> Here is a successful run with these changes: https://github.com/ionic-team/ionic-framework/actions/runs/6044521110
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: 'Test Vue E2E'
|
|
description: 'Test Vue E2E'
|
|
inputs:
|
|
app:
|
|
description: 'The specific test application'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18.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-vue
|
|
path: ./packages/vue
|
|
filename: VueBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-vue-router
|
|
path: ./packages/vue-router
|
|
filename: VueRouterBuild.zip
|
|
- name: Create Test App
|
|
run: ./build.sh ${{ inputs.app }}
|
|
shell: bash
|
|
working-directory: ./packages/vue/test
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
shell: bash
|
|
working-directory: ./packages/vue/test/build/${{ inputs.app }}
|
|
- name: Sync
|
|
run: npm run sync
|
|
shell: bash
|
|
working-directory: ./packages/vue/test/build/${{ inputs.app }}
|
|
- name: Run Spec Tests
|
|
run: npm run test:unit
|
|
shell: bash
|
|
working-directory: ./packages/vue/test/build/${{ inputs.app }}
|
|
- name: Run E2E Tests
|
|
run: npm run test:e2e
|
|
shell: bash
|
|
working-directory: ./packages/vue/test/build/${{ inputs.app }}
|