Skip to content

Commit 70902b6

Browse files
chore(ci): upgrade GitHub Actions to v4/v5/v6 and Node.js to 22 (#2429)
1 parent 16339e9 commit 70902b6

12 files changed

+60
-60
lines changed

.github/workflows/bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: ${{ github.event_name }}/${{ github.event.action }}
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v5
1717
- uses: ionic-team/bot@main
1818
with:
1919
repo-token: ${{ secrets.BOT_TOKEN }}

.github/workflows/ci.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
with:
2323
access_token: ${{ secrets.GITHUB_TOKEN }}
2424
- name: Get Latest
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
27-
node-version: 20
28-
- uses: actions/checkout@v3
27+
node-version: 22
28+
- uses: actions/checkout@v5
2929
- name: Restore Dependency Cache
3030
id: cache-modules
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
node_modules
@@ -54,13 +54,13 @@ jobs:
5454
needs:
5555
- setup
5656
steps:
57-
- uses: actions/setup-node@v4
57+
- uses: actions/setup-node@v6
5858
with:
59-
node-version: 20
60-
- uses: actions/checkout@v3
59+
node-version: 22
60+
- uses: actions/checkout@v5
6161
- name: Restore Dependency Cache
6262
id: cache-modules
63-
uses: actions/cache@v3
63+
uses: actions/cache@v4
6464
with:
6565
path: |
6666
node_modules
@@ -80,13 +80,13 @@ jobs:
8080
matrix:
8181
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
8282
steps:
83-
- uses: actions/setup-node@v4
83+
- uses: actions/setup-node@v6
8484
with:
85-
node-version: 20
86-
- uses: actions/checkout@v3
85+
node-version: 22
86+
- uses: actions/checkout@v5
8787
- name: Restore Dependency Cache
8888
id: cache-modules
89-
uses: actions/cache@v3
89+
uses: actions/cache@v4
9090
with:
9191
path: |
9292
node_modules
@@ -113,13 +113,13 @@ jobs:
113113
- run: sudo xcode-select --switch ${{ matrix.xcode }}
114114
- run: xcrun simctl list > /dev/null
115115
- run: xcodebuild -downloadPlatform iOS
116-
- uses: actions/setup-node@v4
116+
- uses: actions/setup-node@v6
117117
with:
118-
node-version: 20
119-
- uses: actions/checkout@v3
118+
node-version: 22
119+
- uses: actions/checkout@v5
120120
- name: Restore Dependency Cache
121121
id: cache-modules
122-
uses: actions/cache@v3
122+
uses: actions/cache@v4
123123
with:
124124
path: |
125125
node_modules
@@ -141,18 +141,18 @@ jobs:
141141
matrix:
142142
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
143143
steps:
144-
- uses: actions/setup-node@v4
144+
- uses: actions/setup-node@v6
145145
with:
146-
node-version: 20
146+
node-version: 22
147147
- name: set up JDK 21
148-
uses: actions/setup-java@v4
148+
uses: actions/setup-java@v5
149149
with:
150150
java-version: '21'
151151
distribution: 'zulu'
152-
- uses: actions/checkout@v3
152+
- uses: actions/checkout@v5
153153
- name: Restore Dependency Cache
154154
id: cache-modules
155-
uses: actions/cache@v3
155+
uses: actions/cache@v4
156156
with:
157157
path: |
158158
node_modules
@@ -175,13 +175,13 @@ jobs:
175175
matrix:
176176
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
177177
steps:
178-
- uses: actions/setup-node@v4
178+
- uses: actions/setup-node@v6
179179
with:
180-
node-version: 20
181-
- uses: actions/checkout@v3
180+
node-version: 22
181+
- uses: actions/checkout@v5
182182
- name: Restore Dependency Cache
183183
id: cache-modules
184-
uses: actions/cache@v3
184+
uses: actions/cache@v4
185185
with:
186186
path: |
187187
node_modules

.github/workflows/dev-releases-for-pr.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
with:
2424
access_token: ${{ secrets.GITHUB_TOKEN }}
2525
- name: Get Latest
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v6
2727
with:
28-
node-version: 20
29-
- uses: actions/checkout@v3
28+
node-version: 22
29+
- uses: actions/checkout@v5
3030
- name: Restore Dependency Cache
3131
id: cache-modules
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: |
3535
node_modules
@@ -61,13 +61,13 @@ jobs:
6161
matrix:
6262
plugin: ${{ fromJson(needs.setup.outputs.plugins) }}
6363
steps:
64-
- uses: actions/setup-node@v4
64+
- uses: actions/setup-node@v6
6565
with:
66-
node-version: 20
67-
- uses: actions/checkout@v3
66+
node-version: 22
67+
- uses: actions/checkout@v5
6868
- name: Restore Dependency Cache
6969
id: cache-modules
70-
uses: actions/cache@v3
70+
uses: actions/cache@v4
7171
with:
7272
path: |
7373
node_modules

.github/workflows/publish-android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
contents: read
4747
packages: write
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v5
5050
with:
5151
fetch-depth: 0
5252
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
5353
- name: set up JDK 21
54-
uses: actions/setup-java@v4
54+
uses: actions/setup-java@v5
5555
with:
5656
java-version: '21'
5757
distribution: 'zulu'

.github/workflows/publish-ios.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- run: sudo xcode-select --switch /Applications/Xcode_16.app
1919
- run: xcrun simctl list > /dev/null
2020
- run: xcodebuild -downloadPlatform iOS
21-
- uses: actions/setup-node@v4
21+
- uses: actions/setup-node@v6
2222
with:
23-
node-version: 20
24-
- uses: actions/checkout@v3
23+
node-version: 22
24+
- uses: actions/checkout@v5
2525
- name: Install Cocoapods
2626
run: |
2727
gem install cocoapods

.github/workflows/publish-npm-alpha.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: macos-15
1212
timeout-minutes: 30
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v6
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
registry-url: https://registry.npmjs.org/
2222
cache: npm
2323
cache-dependency-path: '**/package.json'

.github/workflows/publish-npm-beta.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: macos-15
1212
timeout-minutes: 30
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v6
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
registry-url: https://registry.npmjs.org/
2222
cache: npm
2323
cache-dependency-path: '**/package.json'

.github/workflows/publish-npm-dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: macos-15
1212
timeout-minutes: 30
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v6
1919
with:
20-
node-version: 20
20+
node-version: 22
2121
registry-url: https://registry.npmjs.org/
2222
cache: npm
2323
cache-dependency-path: '**/package.json'

.github/workflows/publish-npm-latest-from-pre.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: macos-15
2020
timeout-minutes: 30
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0
2525
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
26-
- uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v6
2727
with:
28-
node-version: 20
28+
node-version: 22
2929
registry-url: https://registry.npmjs.org/
3030
cache: npm
3131
cache-dependency-path: '**/package.json'

.github/workflows/publish-npm-latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: macos-15
2020
timeout-minutes: 30
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v5
2323
with:
2424
fetch-depth: 0
2525
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
26-
- uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v6
2727
with:
28-
node-version: 20
28+
node-version: 22
2929
registry-url: https://registry.npmjs.org/
3030
cache: npm
3131
cache-dependency-path: '**/package.json'

0 commit comments

Comments
 (0)