Skip to content

Commit 5d1147c

Browse files
authored
Bump to Node 24 (#391)
1 parent a343979 commit 5d1147c

File tree

8 files changed

+29
-45
lines changed

8 files changed

+29
-45
lines changed

.github/actionlint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
paths:
2+
'**/*.yml':
3+
ignore:
4+
# https://github.com/rhysd/actionlint/issues/559
5+
- 'invalid runner name "node24"'

.github/workflows/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
2222

23-
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
23+
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
2424
with:
2525
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
2626
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: 'npm build'
4141
run: 'npm ci && npm run build'
4242

43-
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
43+
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
4444
with:
4545
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
4646
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ support](https://cloud.google.com/support).**
1616
an App Engine Application. See the [Authorization](#authorization) section
1717
below for more information.
1818

19-
- This action runs using Node 20. If you are using self-hosted GitHub Actions
19+
- This action runs using Node 24. If you are using self-hosted GitHub Actions
2020
runners, you must use runner version [2.285.0](https://github.com/actions/virtual-environments)
2121
or newer.
2222

@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- id: 'auth'
34-
uses: 'google-github-actions/auth@v2'
34+
uses: 'google-github-actions/auth@v3'
3535
with:
3636
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
3737
service_account: '[email protected]'
@@ -180,7 +180,7 @@ jobs:
180180
181181
steps:
182182
- id: 'auth'
183-
uses: 'google-github-actions/auth@v2'
183+
uses: 'google-github-actions/auth@v3'
184184
with:
185185
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
186186
service_account: '[email protected]'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ branding:
116116
color: 'blue'
117117

118118
runs:
119-
using: 'node20'
119+
using: 'node24'
120120
main: 'dist/index.js'

bin/runTests.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"build": "ncc build -m src/main.ts",
88
"lint": "eslint .",
99
"format": "eslint . --fix",
10-
"test": "bash ./bin/runTests.sh"
10+
"test": "node --require ts-node/register --test-reporter spec --test tests/**/*.test.ts"
1111
},
1212
"engines": {
13-
"node": ">= 20.x",
13+
"node": ">= 24.x",
1414
"npm": ">= 11.x"
1515
},
1616
"repository": {
@@ -29,8 +29,8 @@
2929
"dependencies": {
3030
"@actions/core": "^1.11.1",
3131
"@actions/exec": "^1.1.1",
32-
"@google-github-actions/actions-utils": "^0.8.10",
33-
"@google-github-actions/setup-cloud-sdk": "^1.2.3",
32+
"@google-github-actions/actions-utils": "^1.0.1",
33+
"@google-github-actions/setup-cloud-sdk": "^2.0.0",
3434
"yaml": "^2.8.1"
3535
},
3636
"devDependencies": {

0 commit comments

Comments
 (0)