diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 242b0143b..53671779f 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -7,6 +7,12 @@ runs: uses: actions/setup-node@v3 with: node-version: 14.x + - name: Setup NPM v9 + shell: bash + run: npm install -g npm@9 + - name: Check Node & NPM versions + shell: bash + run: node -v && npm -v - name: Clean Environment shell: bash run: npm run clean diff --git a/.npmrc b/.npmrc index 43c97e719..4fd15ed11 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ package-lock=false +legacy-peer-deps=true diff --git a/package.json b/package.json index a7cfcefc3..1b27dd549 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "version": "0.1.0", "description": "terra-clinical", "engines": { - "node": "^10.0.0 || ^12.0.0 || ^14.0.0" + "node": "10 || 12 || 14", + "npm": "6 || 9" }, "repository": { "type": "git",