Skip to content

Commit 229dce1

Browse files
Merge pull request rescript-lang#839 from cometkim/ci-node
update env
2 parents d343457 + d854c72 commit 229dce1

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/pull-request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-node@v2
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-node@v4
99
with:
10-
node-version: 14.x
10+
node-version: 20
11+
cache: npm
1112
- run: npm ci
1213
- run: npx rescript
1314
- run: npm test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ This is the official documentation platform for the [ReScript](https://rescript-
1616

1717
## System Requirements
1818

19-
- `node@16.x` or higher (for ES6 module compat)
20-
- `npm@7` or higher (package-lock v2)
19+
- `node@18` or higher
20+
- `npm@10` or higher
2121

2222
## Setup
2323

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Patrick Ecker <[email protected]>",
66
"license": "MIT",
77
"engines": {
8-
"node": "18.x"
8+
"node": ">=18"
99
},
1010
"type": "module",
1111
"postcss": {

0 commit comments

Comments
 (0)