Skip to content

Commit 9b7d084

Browse files
authored
chore!: require nodejs 16 (#272)
1 parent 1ad4c7d commit 9b7d084

File tree

9 files changed

+98
-98
lines changed

9 files changed

+98
-98
lines changed

.github/workflows/integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: 'actions/setup-node@v2'
2323
with:
24-
node-version: '12.x'
24+
node-version: '16.x'
2525

2626
- name: 'npm build'
2727
run: 'npm ci && npm run build'
@@ -67,7 +67,7 @@ jobs:
6767

6868
- uses: 'actions/setup-node@v2'
6969
with:
70-
node-version: '12.x'
70+
node-version: '16.x'
7171

7272
- name: 'npm build'
7373
run: 'npm ci && npm run build'
@@ -111,7 +111,7 @@ jobs:
111111

112112
- uses: 'actions/setup-node@v2'
113113
with:
114-
node-version: '12.x'
114+
node-version: '16.x'
115115

116116
- name: 'npm build'
117117
run: 'npm ci && npm run build'
@@ -156,7 +156,7 @@ jobs:
156156

157157
- uses: 'actions/setup-node@v2'
158158
with:
159-
node-version: '12.x'
159+
node-version: '16.x'
160160

161161
- name: 'npm build'
162162
run: 'npm ci && npm run build'
@@ -200,7 +200,7 @@ jobs:
200200

201201
- uses: 'actions/setup-node@v2'
202202
with:
203-
node-version: '12.x'
203+
node-version: '16.x'
204204

205205
- name: 'npm build'
206206
run: 'npm ci && npm run build'
@@ -242,7 +242,7 @@ jobs:
242242

243243
- uses: 'actions/setup-node@v2'
244244
with:
245-
node-version: '12.x'
245+
node-version: '16.x'
246246

247247
- name: 'npm build'
248248
run: 'npm ci && npm run build'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: 'actions/setup-node@v2'
1818
with:
19-
node-version: '12.x'
19+
node-version: '16.x'
2020

2121
- name: 'npm build'
2222
run: 'npm ci && npm run build'

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: 'actions/setup-node@v2'
3232
with:
33-
node-version: '12.x'
33+
node-version: '16.x'
3434

3535
- name: 'npm build'
3636
run: 'npm ci && npm run build'

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
uses: 'google-github-actions/deploy-cloud-functions@v0'
5555
with:
5656
name: 'my-function'
57-
runtime: 'nodejs12'
57+
runtime: 'nodejs16'
5858

5959
# Example of using the output
6060
- id: 'test'
@@ -203,7 +203,7 @@ automatically private services, while deploying a revision of a public
203203

204204
- `version`: The version of the function (e.g. `1`)
205205

206-
- `runtime`: The chosen runtime (e.g. `nodejs12`)
206+
- `runtime`: The chosen runtime (e.g. `nodejs16`)
207207

208208
## Authorization
209209

@@ -248,7 +248,7 @@ jobs:
248248
uses: 'google-github-actions/deploy-cloud-functions@v0'
249249
with:
250250
name: 'my-function'
251-
runtime: 'nodejs12'
251+
runtime: 'nodejs16'
252252
```
253253

254254
#### Authenticating via Service Account Key JSON
@@ -268,7 +268,7 @@ jobs:
268268
uses: 'google-github-actions/deploy-cloud-functions@v0'
269269
with:
270270
name: 'my-function'
271-
runtime: 'nodejs12'
271+
runtime: 'nodejs16'
272272
```
273273

274274
### Via Application Default Credentials
@@ -288,7 +288,7 @@ jobs:
288288
uses: 'google-github-actions/deploy-cloud-functions@v0'
289289
with:
290290
name: 'my-function'
291-
runtime: 'nodejs12'
291+
runtime: 'nodejs16'
292292
```
293293

294294
The action will automatically detect and use the Application Default

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,5 @@ branding:
232232
color: 'blue'
233233

234234
runs:
235-
using: 'node12'
235+
using: 'node16'
236236
main: 'dist/index.js'

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)