Skip to content

Commit eadae64

Browse files
authored
chore!: upgrade to Node 18 (#6096)
* chore!: upgrade to Node 18 * turn off some presubmit tests * chore: update test structure * chore: update tsconfig for json * try with beyondcorp * update tsconfig * chore!: upgrade all libraries to node 18 * chore: run post-processor locally * fix: add update dependencies * downgrade octokit * chore: update octokit test * update package json file * chore: update gapic-tools * remove types file of json-helper * add new gapic-tools package * downgrade arrify * pacakge.json * update auth library * chore: remove extra config file and downgrade is-html * revert changes to tasks and translate, will do in a separate PR * chore: update master to main * Update get-bootstrap-template-vars.test.ts * run system test
1 parent 062dff4 commit eadae64

621 files changed

Lines changed: 8169 additions & 4036 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs-mono-repo:latest
16-
digest: sha256:89b7e889929700695988cb30a4cbc51b8f9c5d67cf448399d16bd9163ef1fe74
16+
digest: sha256:eef383773531fdb98a20bc7d78dda144a2e0143b5ef3ff7e256d467984cc8102

.github/sync-repo-settings.yaml

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

.github/workflows/continuous.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node: [14, 16, 18, 20]
11+
node: [18, 20, 22]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: pnpm/action-setup@v4

.github/workflows/presubmit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node: [14, 16, 18, 20]
9+
node: [18, 20, 22]
1010
steps:
1111
- uses: actions/checkout@v4
1212
with:

.github/workflows/update-api-list.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 14
13+
node-version: 18
1414
- run: npm install
1515
- run: npm run generate
1616
env:

ci/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ options:
1818
substitutions:
1919
_BUILD_TYPE: "presubmit"
2020
_TEST_TYPE: "system"
21-
_NODE_VERSION: "16"
21+
_NODE_VERSION: "18"
2222
_REPO_OWNER: "googleapis"
2323
_REPO_NAME: "google-cloud-node"
2424

ci/cloudbuild_with_credentials.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ options:
1818
substitutions:
1919
_BUILD_TYPE: "presubmit"
2020
_TEST_TYPE: "system"
21-
_NODE_VERSION: "16"
21+
_NODE_VERSION: "18"
2222

2323
logsBucket: 'gs://${_LOGS_BUCKET}/logs/google-cloud-node/${_BUILD_TYPE}/${COMMIT_SHA}/${TRIGGER_NAME}'
2424
timeout: 7200s

ci/export/samples-continous-node14-with-credentials.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
createTime: '2022-08-05T20:10:57.660562803Z'
2-
description: Continuous build with node 14
2+
description: Continuous build with node 18
33
filename: ci/cloudbuild_with_credentials.yaml
44
github:
55
name: google-cloud-node
66
owner: googleapis
77
push:
88
branch: ^main$
99
id: 60bcf576-538e-45a8-ba92-b1b488afbf51
10-
name: samples-continuous-node14-with-credentials
10+
name: samples-continuous-node18-with-credentials
1111
serviceAccount: projects/long-door-651/serviceAccounts/[email protected]
1212
substitutions:
1313
_BUILD_TYPE: continuous

ci/export/samples-continuous-node14.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
createTime: '2022-08-05T20:10:57.660562803Z'
2-
description: Continuous build with node 14
2+
description: Continuous build with node 18
33
filename: ci/cloudbuild.yaml
44
github:
55
name: google-cloud-node
66
owner: googleapis
77
push:
88
branch: ^main$
99
id: 60bcf576-538e-45a8-ba92-b1b488afbf51
10-
name: samples-continuous-node14
10+
name: samples-continuous-node18
1111
resourceName: projects/long-door-651/locations/global/triggers/60bcf576-538e-45a8-ba92-b1b488afbf51
1212
serviceAccount: projects/long-door-651/serviceAccounts/[email protected]
1313
substitutions:

ci/export/samples-nightly-node14-with-credentials.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
createTime: '2022-08-05T20:10:58.882437677Z'
2-
description: Nightly build with node 14
2+
description: Nightly build with node 18
33
gitFileSource:
44
path: ci/cloudbuild_with_credentials.yaml
55
repoType: GITHUB
66
revision: refs/heads/main
77
uri: https://github.com/googleapis/google-cloud-node
88
id: 25a89188-0ae6-4faf-9131-9b1e3c8b9720
9-
name: samples-nightly-node14-with-credentials
9+
name: samples-nightly-node18-with-credentials
1010
serviceAccount: projects/long-door-651/serviceAccounts/[email protected]
1111
sourceToBuild:
1212
ref: refs/heads/main

0 commit comments

Comments
 (0)