Skip to content

Commit

Permalink
chore(ci): Use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Oct 24, 2024
1 parent 7280148 commit 070e0de
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 44 deletions.
36 changes: 12 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Latest
uses: actions/setup-node@v3
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
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand Down Expand Up @@ -56,11 +54,9 @@ jobs:
needs:
- setup
steps:
- uses: actions/setup-node@v3
- 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
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand All @@ -84,11 +80,9 @@ jobs:
matrix:
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
steps:
- uses: actions/setup-node@v3
- 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
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand Down Expand Up @@ -117,11 +111,9 @@ jobs:
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
steps:
- run: sudo xcode-select --switch ${{ matrix.xcode }}
- uses: actions/setup-node@v3
- 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
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand All @@ -147,16 +139,14 @@ jobs:
matrix:
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20
- name: set up JDK 17
uses: actions/setup-java@v3
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@v3
- name: Restore Dependency Cache
id: cache-modules
Expand All @@ -183,11 +173,9 @@ jobs:
matrix:
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
steps:
- uses: actions/setup-node@v3
- 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
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dev-releases-for-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get Latest
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.18.0
node-version: 20
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand Down Expand Up @@ -61,9 +61,9 @@ jobs:
matrix:
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.18.0
node-version: 20
- uses: actions/checkout@v3
- name: Restore Dependency Cache
id: cache-modules
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
plugin: ${{ fromJson(github.event.inputs.plugins) }}
steps:
- run: sudo xcode-select --switch /Applications/Xcode_15.0.app
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- uses: actions/checkout@v3
- name: Install Cocoapods
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-latest-from-pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
cache: npm
cache-dependency-path: '**/package.json'
Expand Down

0 comments on commit 070e0de

Please sign in to comment.