Skip to content

Commit c325ea1

Browse files
authored
Merge pull request #207 from Cellule/node-22
Update minimum dev version to node 22
2 parents d1e49d0 + 7e238ca commit c325ea1

3 files changed

Lines changed: 19 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,34 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x, 20.x]
14+
node-version: [22.x]
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323

24-
- name: install
25-
run: |
26-
npm install
27-
28-
- name: build
29-
run: |
30-
npm run build
24+
- run: npm install
25+
- run: npm run build
3126

3227
cypress:
3328
runs-on: ubuntu-latest
3429

3530
steps:
36-
- uses: actions/checkout@v3
37-
- name: install
38-
run: |
39-
npm install
31+
- uses: actions/checkout@v4
32+
- name: Use Node.js
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: 22
36+
- run: npm install
4037

4138
# https://docs.cypress.io/guides/continuous-integration/github-actions
4239
- name: Cypress run
4340
# https://github.com/marketplace/actions/cypress-io
44-
uses: cypress-io/github-action@v4.2.1 # use the explicit version number
41+
uses: cypress-io/github-action@v6.7.16 # use the explicit version number
4542
with:
4643
start: npm run dev -- --host
4744
wait-on: "http://localhost:3000"

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "dnd-generator",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"private": true,
55
"type": "module",
66
"engines": {
7-
"npm": ">=9.0.0 <10.0.0",
8-
"node": ">=18.0.0 <21.0.0"
7+
"npm": ">=10.0.0",
8+
"node": ">=22.0.0"
99
},
1010
"scripts": {
1111
"dev": "vite",

0 commit comments

Comments
 (0)