From a80d88f0ca2400d92bb6b935d45a331ab2b548e6 Mon Sep 17 00:00:00 2001 From: Lars Johnsen Date: Sat, 14 Sep 2024 21:47:12 +0200 Subject: [PATCH] Set minimum node version to 22 As required by dependency rifraf --- .github/workflows/pipeline.yml | 6 +++--- CONTRIBUTING.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4adda41f10..ba8a6cb54e 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '21' + node-version: '22' - run: yarn install --frozen-lockfile - run: yarn flow check --show-all-errors @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '21' + node-version: '22' - run: yarn install --frozen-lockfile - run: yarn build --browsers=all @@ -53,7 +53,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '21' + node-version: '22' - run: yarn install --frozen-lockfile - run: yarn test diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 722e24a8b3..07806aa533 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ Thinking about contributing to RES? Awesome! We just ask that you follow a few s #### First time installation 1. Install [git](https://git-scm.com/). -1. Install [node.js](https://nodejs.org) (version >= 21). +1. Install [node.js](https://nodejs.org) (version >= 22). 1. Install [yarn](https://yarnpkg.com/lang/en/docs/install/) 1. [Clone this repository](https://help.github.com/articles/cloning-a-repository/). 1. Run `yarn` in that folder.