Skip to content

Commit 4867f23

Browse files
committed
Update Node.js and module dependencies
1 parent 27ec33d commit 4867f23

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
- name: "Check out Git repository"
2222
uses: actions/checkout@v2
23-
- name: "Use Node.js 16"
23+
- name: "Use Node.js 20"
2424
uses: actions/setup-node@v2
2525
with:
26-
node-version: 16
26+
node-version: 20
2727
cache: npm
2828
- name: "Install application"
2929
run: npm install --ignore-scripts
@@ -34,10 +34,10 @@ jobs:
3434
steps:
3535
- name: "Check out Git repository"
3636
uses: actions/checkout@v2
37-
- name: "Use Node.js 16"
37+
- name: "Use Node.js 20"
3838
uses: actions/setup-node@v2
3939
with:
40-
node-version: 16
40+
node-version: 20
4141
cache: npm
4242
- name: "Cache Node.js modules"
4343
uses: actions/cache@v2

.github/workflows/coupon-distribution.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
steps:
99
- name: "Check out Git repository"
1010
uses: actions/checkout@v2
11-
- name: "Use Node.js 16"
11+
- name: "Use Node.js 20"
1212
uses: actions/setup-node@v2
1313
with:
14-
node-version: 16
14+
node-version: 20
1515
- name: "Install latest published module from NPM"
1616
run: npm i -g juicy-coupon-bot
1717
- name: "Activate publishing mode"

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v1
1111
- uses: actions/setup-node@v2
1212
with:
13-
node-version: 16
13+
node-version: 20
1414
cache: npm
1515
- run: npm install
1616
- uses: JS-DevTools/npm-publish@v1

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "juicy-coupon-bot",
3-
"version": "1.3.3",
3+
"version": "2.0.0",
44
"description": "Coupon code generator and distribution bot for OWASP Juice Shop",
55
"homepage": "http://owasp-juice.shop",
66
"bugs": {
@@ -49,7 +49,7 @@
4949
"standard": "^14.3.4"
5050
},
5151
"engines": {
52-
"node": "12-18"
52+
"node": "18 - 22"
5353
},
5454
"preferGlobal": true,
5555
"standard": {

0 commit comments

Comments
 (0)