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: | 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