Skip to content

Commit

Permalink
chore(ci): Update the node version to 20.x (#7672)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Anderson <mark@ionic.io>
  • Loading branch information
jcesarmobile and markemer authored Sep 27, 2024
1 parent 77a5b34 commit 44bf6a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
- name: Get Latest
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand All @@ -38,9 +36,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand All @@ -59,9 +55,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand All @@ -82,9 +76,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand All @@ -110,9 +102,7 @@ jobs:
- run: sudo xcode-select --switch ${{ matrix.xcode }}
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand All @@ -133,14 +123,12 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
- uses: actions/checkout@v4
- name: Restore Dependency Cache
uses: actions/cache@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
- run: sudo xcode-select --switch /Applications/Xcode_16.app
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: NPM ^9.5.0
run: npm i -g npm@^9.5.0 --registry=https://registry.npmjs.org
node-version: 20.x
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 44bf6a5

Please # to comment.