Skip to content

Commit

Permalink
set gcp deployment to use node16 and yarn3
Browse files Browse the repository at this point in the history
  • Loading branch information
mojitoj committed Apr 19, 2023
1 parent 5a6f7e2 commit cbf76a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
runtime: nodejs12
runtime: nodejs16
instance_class: B2
basic_scaling:
max_instances: 1
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: node
- name: node:16
entrypoint: yarn
args: ['install']
- name: "gcr.io/cloud-builders/yarn"
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@
"nock": "^13.3.0",
"supertest": "^6.3.3"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"engines": {
"yarn": "^3.4.1",
"node": "16"
}
}

0 comments on commit cbf76a7

Please sign in to comment.