From d854c7289df0cefd8806c033c676c7aa7e5af4b7 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Fri, 12 Apr 2024 21:52:35 +0900 Subject: [PATCH] update env --- .github/workflows/pull-request.yml | 7 ++++--- README.md | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9ca8d15b3..58df60cb2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,10 +4,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 14.x + node-version: 20 + cache: npm - run: npm ci - run: npx rescript - run: npm test diff --git a/README.md b/README.md index 162c221c9..29a5a3a86 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ This is the official documentation platform for the [ReScript](https://rescript- ## System Requirements -- `node@16.x` or higher (for ES6 module compat) -- `npm@7` or higher (package-lock v2) +- `node@18` or higher +- `npm@10` or higher ## Setup diff --git a/package-lock.json b/package-lock.json index 0c7141333..b994cbff6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "tailwindcss": "^3.3.3" }, "engines": { - "node": "18.x" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 838780f46..7b2c60f0a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Patrick Ecker ", "license": "MIT", "engines": { - "node": "18.x" + "node": ">=18" }, "type": "module", "postcss": {