Skip to content

Commit

Permalink
Update deps to Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Oct 27, 2023
1 parent 7fc16a5 commit d582166
Show file tree
Hide file tree
Showing 7 changed files with 395 additions and 448 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand All @@ -51,11 +51,11 @@ jobs:
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
runs-on: '${{ matrix.os }}'

steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

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

- name: 'npm build'
run: 'npm ci && npm run build'
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ This action requires:
Authorization section below for more information. You also need to
[create a GKE cluster](https://cloud.google.com/kubernetes-engine/docs/quickstart).

- 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.
- This action runs using Node 20. If you are using self-hosted GitHub Actions
runners, you must use a [runner
version](https://github.com/actions/virtual-environments) that supports this
version or newer.

- If you plan to create binaries, containers, pull requests, or other
releases, add the following to your .gitignore to prevent accidentially
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ branding:
color: 'blue'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
6 changes: 4 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit d582166

Please sign in to comment.