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
This commit is contained in:
committed by
GitHub
parent
cb50f05d45
commit
f485bc1c16
7
.github/workflows/node.js-tests.yml
vendored
7
.github/workflows/node.js-tests.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user