Skip to content

Commit b044f8a

Browse files
authored
chore!: require Node 16 (#215)
1 parent f853694 commit b044f8a

File tree

6 files changed

+568
-492
lines changed

6 files changed

+568
-492
lines changed

.github/workflows/integration.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
id-token: 'write'
2222
runs-on: 'ubuntu-latest'
2323
steps:
24-
- uses: 'actions/checkout@v2'
24+
- uses: 'actions/checkout@v3'
2525

26-
- uses: 'actions/setup-node@v2'
26+
- uses: 'actions/setup-node@v3'
2727
with:
28-
node-version: '12.x'
28+
node-version: '16.x'
2929

3030
- name: 'npm build'
3131
run: 'npm ci && npm run build'
@@ -62,11 +62,11 @@ jobs:
6262
name: 'auth_credentials'
6363
runs-on: 'ubuntu-latest'
6464
steps:
65-
- uses: 'actions/checkout@v2'
65+
- uses: 'actions/checkout@v3'
6666

67-
- uses: 'actions/setup-node@v2'
67+
- uses: 'actions/setup-node@v3'
6868
with:
69-
node-version: '12.x'
69+
node-version: '16.x'
7070

7171
- name: 'npm build'
7272
run: 'npm ci && npm run build'
@@ -103,11 +103,11 @@ jobs:
103103
name: 'json'
104104
runs-on: 'ubuntu-latest'
105105
steps:
106-
- uses: 'actions/checkout@v2'
106+
- uses: 'actions/checkout@v3'
107107

108-
- uses: 'actions/setup-node@v2'
108+
- uses: 'actions/setup-node@v3'
109109
with:
110-
node-version: '12.x'
110+
node-version: '16.x'
111111

112112
- name: 'npm build'
113113
run: 'npm ci && npm run build'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
build:
1313
runs-on: 'ubuntu-latest'
1414
steps:
15-
- uses: 'actions/checkout@v2'
15+
- uses: 'actions/checkout@v3'
1616

17-
- uses: 'actions/setup-node@v2'
17+
- uses: 'actions/setup-node@v3'
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
- 'windows-latest'
2424
- 'macos-latest'
2525
steps:
26-
- uses: 'actions/checkout@v2'
26+
- uses: 'actions/checkout@v3'
2727

28-
- uses: 'actions/setup-node@v2'
28+
- uses: 'actions/setup-node@v3'
2929
with:
30-
node-version: '12.x'
30+
node-version: '16.x'
3131

3232
- name: 'npm build'
3333
run: 'npm ci && npm run build'

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ Authentication is performed by generating a [short-lived token][token] (default
2323

2424
This action requires:
2525

26-
- Google Cloud credentials that are authorized to view a GKE cluster. See the Authorization section below for more information.
26+
- Google Cloud credentials that are authorized to view a GKE cluster. See the
27+
Authorization section below for more information. You also need to
28+
[create a GKE cluster](https://cloud.google.com/kubernetes-engine/docs/quickstart).
2729

28-
- [Create a GKE cluster](https://cloud.google.com/kubernetes-engine/docs/quickstart?_ga=2.267842766.1374248275.1591025444-475066991.1589991158)
30+
- This action runs using Node 16. If you are using self-hosted GitHub Actions
31+
runners, you must use runner version [2.285.0](https://github.com/actions/virtual-environments)
32+
or newer.
2933

3034
## Usage
3135

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ branding:
7575
color: 'blue'
7676

7777
runs:
78-
using: 'node12'
78+
using: 'node16'
7979
main: 'dist/index.js'

0 commit comments

Comments
 (0)