From 7d9ad868f6f50a0ca386a3a004e92e9133f7cd9a Mon Sep 17 00:00:00 2001 From: Saad <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:18:50 -0500 Subject: [PATCH 1/6] upgraded to npmv9 --- .github/actions/setup/action.yml | 3 +++ .npmrc | 1 + package.json | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 242b0143b..33b9077cb 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -7,6 +7,9 @@ runs: uses: actions/setup-node@v3 with: node-version: 14.x + - name: Setup NPM v9 + shell: bash + run: npm install -g npm@9 - 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", From 24e1a98856a1f6eb921ea6a55171ab35686dbdde Mon Sep 17 00:00:00 2001 From: Saad Adnan <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:51:38 -0500 Subject: [PATCH 2/6] Update action.yml --- .github/actions/setup/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 33b9077cb..642636f69 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,6 +10,11 @@ runs: - 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 From c20c05a355fb92997af5842c6c9eb6c64088787a Mon Sep 17 00:00:00 2001 From: Saad Adnan <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:08:44 -0500 Subject: [PATCH 3/6] Update action.yml --- .github/actions/setup/action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 642636f69..d8813bc8c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -12,9 +12,8 @@ runs: run: npm install -g npm@9 - name: Check Node & NPM versions shell: bash - run: - - node -v - - npm -v + run: node -v + run: npm -v - name: Clean Environment shell: bash run: npm run clean From 84902211c74ee408cfdd678dc00ebe6c86d33c4b Mon Sep 17 00:00:00 2001 From: Saad Adnan <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:18:47 -0500 Subject: [PATCH 4/6] Update action.yml --- .github/actions/setup/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index d8813bc8c..b314239a5 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,9 +10,8 @@ runs: - name: Setup NPM v9 shell: bash run: npm install -g npm@9 - - name: Check Node & NPM versions + - name: Check NPM version shell: bash - run: node -v run: npm -v - name: Clean Environment shell: bash From b9d0550d79d49727c1005c63674b091dd986839d Mon Sep 17 00:00:00 2001 From: Saad Adnan <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:23:19 -0500 Subject: [PATCH 5/6] Update action.yml --- .github/actions/setup/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index b314239a5..6a48659cd 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -10,9 +10,11 @@ runs: - name: Setup NPM v9 shell: bash run: npm install -g npm@9 - - name: Check NPM version + - name: Check Node & NPM versions shell: bash - run: npm -v + run: | + node -v + npm -v - name: Clean Environment shell: bash run: npm run clean From 2850064f4c481bcaef89c17aa841b62743d149bd Mon Sep 17 00:00:00 2001 From: Saad Adnan <38024451+sdadn@users.noreply.github.com> Date: Mon, 21 Aug 2023 13:44:29 -0500 Subject: [PATCH 6/6] Update action.yml --- .github/actions/setup/action.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 6a48659cd..53671779f 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -12,9 +12,7 @@ runs: run: npm install -g npm@9 - name: Check Node & NPM versions shell: bash - run: | - node -v - npm -v + run: node -v && npm -v - name: Clean Environment shell: bash run: npm run clean