Skip to content

Commit

Permalink
Update deps to Node 20 (google-github-actions#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Nov 7, 2023
1 parent 080181a commit 602747f
Show file tree
Hide file tree
Showing 7 changed files with 311 additions and 292 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
id-token: 'write'

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

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

- name: '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 @@ -25,11 +25,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 ci'
run: 'npm ci'
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ support](https://cloud.google.com/support).**
- This action requires Google Cloud credentials to execute gcloud commands.
See [Authorization](#Authorization) for more details.

- 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.

## Usage

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

runs:
using: 'node16'
using: 'node20'
main: 'dist/main/index.js'
4 changes: 3 additions & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 602747f

Please sign in to comment.