diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 67b8b21ee2..cbff57c090 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -102,7 +102,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '16.14.1' + node-version: '20.x' - name: resolve dependency run: npm install -g @graphql-inspector/cli diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7b9948c184..e76917b63e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -22,6 +22,9 @@ env: jobs: Code-Coverage: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/INSTALLATION.md b/INSTALLATION.md index c0e87d601b..9660b76dfd 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -62,7 +62,7 @@ cd talawa-admin ## Setting up NPM -If you've followed the previous steps you should have already set up node.js on your system. [Click here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for the official setup guide for npm. +If you've followed the previous steps you should have already set up node.js (v20 LTS) on your system. [Click here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) for the official setup guide for npm. ## Installing required packages/dependencies diff --git a/package.json b/package.json index 122567c2d7..32b368f620 100644 --- a/package.json +++ b/package.json @@ -127,5 +127,8 @@ "@types/react": "17.0.2", "@types/react-dom": "17.0.2", "graphql": "^16.5.0" + }, + "engines": { + "node": ">=20.x" } }