From f485bc1c169f8e5e6ef8ec688c968d9c1b790dc6 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Thu, 10 Mar 2022 19:09:06 +0100 Subject: [PATCH] chore: update CI tests (#45401) * chore: echo npm version in CI (as debugging info) * chore: remove redundant alterations to .env sample.env already has SHOW_NEW_CURRICULUM=true --- .github/workflows/node.js-tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js-tests.yml b/.github/workflows/node.js-tests.yml index 68c6ab3053..e86b059238 100644 --- a/.github/workflows/node.js-tests.yml +++ b/.github/workflows/node.js-tests.yml @@ -40,6 +40,7 @@ jobs: - name: Lint Source Files run: | + echo npm version $(npm -v) npm ci npm run create:config npm run build:curriculum @@ -68,11 +69,11 @@ jobs: - name: Set Environment variables run: | cp sample.env .env - echo 'SHOW_NEW_CURRICULUM=true' >> .env cat .env - name: Install Dependencies run: | + echo npm version $(npm -v) npm ci npm run create:config npm run build:curriculum @@ -104,11 +105,11 @@ jobs: run: | cp sample.env .env echo 'SHOW_UPCOMING_CHANGES=true' >> .env - echo 'SHOW_NEW_CURRICULUM=true' >> .env cat .env - name: Install Dependencies run: | + echo npm version $(npm -v) npm ci npm run create:config npm run build:curriculum @@ -141,7 +142,6 @@ jobs: run: | cp sample.env .env echo 'SHOW_UPCOMING_CHANGES=true' >> .env - echo 'SHOW_NEW_CURRICULUM=true' >> .env cat .env - name: Install Dependencies @@ -149,6 +149,7 @@ jobs: CURRICULUM_LOCALE: ${{ matrix.locale }} CLIENT_LOCALE: ${{ matrix.locale }} run: | + echo npm version $(npm -v) npm ci npm run create:config npm run build:curriculum