From f18b047f23697d9cec86084dcc67955843cba0ac Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:21:28 +0500 Subject: [PATCH 1/7] Update auto-test.yml --- .github/workflows/auto-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index b3a7daca97..18aabbfe25 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -33,7 +33,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - run: npm install npm@9 -g + - run: npm i -g npm@9 --force - run: npm install - run: npm run build - run: npm run test-backend From 761a60d60aa528fbd4ecbdd7fbe8812ae4082292 Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:27:51 +0500 Subject: [PATCH 2/7] Update auto-test.yml --- .github/workflows/auto-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 18aabbfe25..4241846aeb 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -34,6 +34,8 @@ jobs: with: node-version: ${{ matrix.node }} - run: npm i -g npm@9 --force + - name: Clean Cache + run: npm cache clean --force - run: npm install - run: npm run build - run: npm run test-backend From d8e7705c397e4df42831b82c2fc3c8760c2d1906 Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:29:14 +0500 Subject: [PATCH 3/7] Update auto-test.yml --- .github/workflows/auto-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 4241846aeb..e6917cb10b 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -33,9 +33,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - run: npm i -g npm@9 --force - name: Clean Cache run: npm cache clean --force + - run: npm i -g npm@9 --force - run: npm install - run: npm run build - run: npm run test-backend From 96e814a119ab4bc53017414649db4021233e1073 Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:00:32 +0500 Subject: [PATCH 4/7] test --- .github/workflows/auto-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index e6917cb10b..90502786f2 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -33,9 +33,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Clean Cache - run: npm cache clean --force - - run: npm i -g npm@9 --force + #- name: Clean Cache + # run: npm cache clean --force + #- run: npm i -g npm@9 --force - run: npm install - run: npm run build - run: npm run test-backend From 92195591f5a021bb54ff90c562e854f7913070ba Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:35:56 +0500 Subject: [PATCH 5/7] Test --- .github/workflows/auto-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 90502786f2..582b92c3f4 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest, ARM64] - node: [ 14, 20.5 ] + node: [ 16, 20.5 ] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -35,7 +35,7 @@ jobs: node-version: ${{ matrix.node }} #- name: Clean Cache # run: npm cache clean --force - #- run: npm i -g npm@9 --force + - run: npm i -g npm@9 --force - run: npm install - run: npm run build - run: npm run test-backend From 70d981bf272f5297372e13dcc30ba1c71362e673 Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Wed, 6 Mar 2024 20:45:44 +0500 Subject: [PATCH 6/7] Cleanup --- .github/workflows/auto-test.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index 582b92c3f4..a6b041c578 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -33,12 +33,15 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - #- name: Clean Cache - # run: npm cache clean --force - - run: npm i -g npm@9 --force - - run: npm install - - run: npm run build - - run: npm run test-backend + + - name: Install NPM 9 + run: npm i -g npm@9 + - name: Install + run: npm install + - name: Build + run: npm run build + - name: Test Backend + run: npm run test-backend env: HEADLESS_TEST: 1 JUST_FOR_TEST: ${{ secrets.JUST_FOR_TEST }} From 11c69228c957020c4f409a5493ce6feb8744525a Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Fri, 15 Mar 2024 20:22:17 +0500 Subject: [PATCH 7/7] Drop `npm i -g npm@9` --- .github/workflows/auto-test.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/auto-test.yml b/.github/workflows/auto-test.yml index a6b041c578..d0629f7b55 100644 --- a/.github/workflows/auto-test.yml +++ b/.github/workflows/auto-test.yml @@ -34,8 +34,6 @@ jobs: with: node-version: ${{ matrix.node }} - - name: Install NPM 9 - run: npm i -g npm@9 - name: Install run: npm install - name: Build @@ -66,7 +64,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - run: npm install npm@9 -g - run: npm ci --production check-linters: