Skip to content

Commit

Permalink
chore!: require Node 16 (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Mar 8, 2022
1 parent f853694 commit b044f8a
Show file tree
Hide file tree
Showing 6 changed files with 568 additions and 492 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
id-token: 'write'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
name: 'auth_credentials'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down Expand Up @@ -103,11 +103,11 @@ jobs:
name: 'json'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- 'windows-latest'
- 'macos-latest'
steps:
- uses: 'actions/checkout@v2'
- uses: 'actions/checkout@v3'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ Authentication is performed by generating a [short-lived token][token] (default

This action requires:

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

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

## Usage

Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ branding:
color: 'blue'

runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'

0 comments on commit b044f8a

Please sign in to comment.