From 5c2c850b98464da26285e75f07046a31f09c518b Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Fri, 26 Nov 2021 13:53:58 +0100 Subject: [PATCH 1/2] Lock repository to lts/fermium (node v14) --- .github/workflows/checks.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4be9342..2dd0037 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Setup Node.js environment (v14) + uses: actions/setup-node@v2 + with: + node-version: 'lts/fermium' + - name: Install npm dependencies if: always() run: | From f964a15e7da935dd9aa068b3d150abde01dcd8f2 Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Sat, 27 Nov 2021 13:58:44 +0100 Subject: [PATCH 2/2] Update INSTALL.md regarding node and npm version Make reference to package.json file clearer. --- INSTALL.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e9bfa7a..ecc0626 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,9 +27,7 @@ Supported languages are: ## Prerequisites -To run all the linters please install for your OS: - -* [npm](https://github.com/nodesource/distributions) +This repository is aligned to the Node.js 14 Maintenance LTS version of [Node.js](https://nodejs.org/en/) (which includes npm). Install the v14 (`lts/fremium`) version of Node.js which is available from [Node.js - Previous Releases](https://nodejs.org/en/download/releases/) page. ## Installation @@ -58,7 +56,7 @@ Every individual check can be run like so: npm runscript my-individual-check ``` -See the package.json file for help. +See the [package.json](https://github.com/corona-warn-app/cwa-documentation/blob/master/package.json) file for the currently available scripts. #### Markdown linter