File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff 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
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ All notable changes to this GitHub action will be documented in this file.
55The 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
Original file line number Diff line number Diff line change @@ -42,5 +42,5 @@ inputs:
4242 required : false
4343 default : ' zap_scan'
4444runs :
45- using : ' node16 '
45+ using : ' node20 '
4646 main : ' dist/index.js'
You can’t perform that action at this time.
0 commit comments