mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
chore(ci): use node v20 for github actions (#30088)
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. --> Github actions are failing due to using node v18. [Failing example](https://github.com/ionic-team/ionic-framework/actions/runs/12379078209/job/34552448830) ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Github actions have been updated to use node v20. [Passing example](https://github.com/ionic-team/ionic-framework/actions/runs/12379780879/job/34554955539) ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> N/A
This commit is contained in:
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -11,7 +11,7 @@ runs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
@ -11,7 +11,7 @@ runs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -21,7 +21,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
# Provenance requires npm 9.5.0+
|
# Provenance requires npm 9.5.0+
|
||||||
- name: Install latest npm
|
- name: Install latest npm
|
||||||
run: npm install -g npm@latest
|
run: npm install -g npm@latest
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
|
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
|
@ -5,7 +5,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
|
@ -15,7 +15,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -8,7 +8,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
working-directory: ./core
|
working-directory: ./core
|
||||||
|
@ -8,7 +8,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -8,7 +8,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -8,7 +8,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: ./.github/workflows/actions/download-archive
|
- uses: ./.github/workflows/actions/download-archive
|
||||||
with:
|
with:
|
||||||
name: ionic-core
|
name: ionic-core
|
||||||
|
@ -9,7 +9,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./artifacts
|
path: ./artifacts
|
||||||
|
Reference in New Issue
Block a user