diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 140c6010..540abbae 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -18,7 +18,7 @@ on: jobs: eslint: - name: Run eslint scanning + name: Run ESLint scanning runs-on: ubuntu-latest permissions: contents: read @@ -28,6 +28,11 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + # The Node version to use + node-version: 16 + - name: Install ESLint run: yarn install diff --git a/README.md b/README.md index 063c7a9e..211d6164 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ GraphQL requires data key names to have no spaces or special characters, so ther ### Front-End Setup -Make sure you have [Yarn](https://yarnpkg.com/) installed, `cd` into the project directory (after cloning it) and run: +Make sure you **are running Node v16** and have [Yarn](https://yarnpkg.com/) installed, the +`cd` into the project directory (after cloning it) and run: ```bash yarn install diff --git a/package.json b/package.json index cc0a705c..361e8edd 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "main": "index.js", "repository": "git@github.com:vkoves/electrify-chicago.git", "author": "Viktor Köves <3187531+vkoves@users.noreply.github.com>", + "engines" : { "node" : ">=16.00 < 17.0.0" }, "license": "MIT", "scripts": { "build": "gridsome build",