Skip to content

Commit

Permalink
chore!: require nodejs 16 (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Jan 31, 2022
1 parent 1ad4c7d commit 9b7d084
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 98 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: 'actions/setup-node@v2'
with:
node-version: '12.x'
node-version: '16.x'

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: 'google-github-actions/deploy-cloud-functions@v0'
with:
name: 'my-function'
runtime: 'nodejs12'
runtime: 'nodejs16'

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

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

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

## Authorization

Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
uses: 'google-github-actions/deploy-cloud-functions@v0'
with:
name: 'my-function'
runtime: 'nodejs12'
runtime: 'nodejs16'
```

#### Authenticating via Service Account Key JSON
Expand All @@ -268,7 +268,7 @@ jobs:
uses: 'google-github-actions/deploy-cloud-functions@v0'
with:
name: 'my-function'
runtime: 'nodejs12'
runtime: 'nodejs16'
```

### Via Application Default Credentials
Expand All @@ -288,7 +288,7 @@ jobs:
uses: 'google-github-actions/deploy-cloud-functions@v0'
with:
name: 'my-function'
runtime: 'nodejs12'
runtime: 'nodejs16'
```

The action will automatically detect and use the Application Default
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,5 @@ branding:
color: 'blue'

runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

0 comments on commit 9b7d084

Please sign in to comment.