Skip to content

Commit e4e2d60

Browse files
authored
Merge pull request #30 from thc202/node20
Run with node20
2 parents 755bec9 + 3954c49 commit e4e2d60

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/check-dist.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Set Node.js
27-
uses: actions/setup-node@v2
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: 16.x
29+
node-version: 20.x
3030

3131
- name: Install dependencies
3232
run: npm ci
@@ -44,7 +44,7 @@ jobs:
4444
id: diff
4545

4646
# If index.js was different than expected, upload the expected version as an artifact
47-
- uses: actions/upload-artifact@v2
47+
- uses: actions/upload-artifact@v3
4848
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
4949
with:
5050
name: dist

.github/workflows/check-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- run: sudo apt-get update && sudo apt-get install -y nginx && sudo systemctl start nginx
2323

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ All notable changes to this GitHub action will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
8+
### Changed
9+
- Run with node20. [#29](https://github.com/zaproxy/action-api-scan/issues/29)
810

911
## [0.5.0] - 2023-08-24
1012
### Added

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ inputs:
4242
required: false
4343
default: 'zap_scan'
4444
runs:
45-
using: 'node16'
45+
using: 'node20'
4646
main: 'dist/index.js'

0 commit comments

Comments
 (0)