diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 282f1ff..9a80b31 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -13,13 +13,16 @@ jobs: test-deploy: name: Test deployment runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20, 22] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 22 + node-version: ${{ matrix.node-version }} cache: npm cache-dependency-path: './website/package-lock.json' @@ -28,3 +31,4 @@ jobs: - name: Test build website run: npm run build + continue-on-error: false diff --git a/README.md b/README.md index 9bc3de2..bf41da2 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ Below are steps for initialising and reproducing this portal for development. ## Dependencies 1. The latest version of [Node](https://nodejs.org/en/download/) installed. - > You have to be on Node >= 18.x + > You have to be on Node >= 20.x. This is the default version on Ubuntu 24.04 "Noble Numbat" or later, + and Debian 13 "Trixie" or later. ## Installation diff --git a/website/package-lock.json b/website/package-lock.json index d3d145e..58a702c 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -17,7 +17,7 @@ "@docusaurus/module-type-aliases": "^3.7.0" }, "engines": { - "node": ">=18.0" + "node": ">=20.0" } }, "node_modules/@algolia/autocomplete-core": { diff --git a/website/package.json b/website/package.json index 4a2e5d8..a8c2c97 100644 --- a/website/package.json +++ b/website/package.json @@ -35,6 +35,6 @@ ] }, "engines": { - "node": ">=18.0" + "node": ">=20.0" } }