Skip to content

Commit

Permalink
Merge pull request #46 from vkoves/lock-node-version
Browse files Browse the repository at this point in the history
Lock to Node v16
  • Loading branch information
vkoves authored Mar 13, 2024
2 parents dfc3330 + d3de990 commit 315f607
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
eslint:
name: Run eslint scanning
name: Run ESLint scanning
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "index.js",
"repository": "[email protected]:vkoves/electrify-chicago.git",
"author": "Viktor Köves <[email protected]>",
"engines" : { "node" : ">=16.00 < 17.0.0" },
"license": "MIT",
"scripts": {
"build": "gridsome build",
Expand Down

0 comments on commit 315f607

Please sign in to comment.