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
|
- name: Lint Source Files
|
||||||
run: |
|
run: |
|
||||||
|
echo npm version $(npm -v)
|
||||||
npm ci
|
npm ci
|
||||||
npm run create:config
|
npm run create:config
|
||||||
npm run build:curriculum
|
npm run build:curriculum
|
||||||
@@ -68,11 +69,11 @@ jobs:
|
|||||||
- name: Set Environment variables
|
- name: Set Environment variables
|
||||||
run: |
|
run: |
|
||||||
cp sample.env .env
|
cp sample.env .env
|
||||||
echo 'SHOW_NEW_CURRICULUM=true' >> .env
|
|
||||||
cat .env
|
cat .env
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
echo npm version $(npm -v)
|
||||||
npm ci
|
npm ci
|
||||||
npm run create:config
|
npm run create:config
|
||||||
npm run build:curriculum
|
npm run build:curriculum
|
||||||
@@ -104,11 +105,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cp sample.env .env
|
cp sample.env .env
|
||||||
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
|
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
|
||||||
echo 'SHOW_NEW_CURRICULUM=true' >> .env
|
|
||||||
cat .env
|
cat .env
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
echo npm version $(npm -v)
|
||||||
npm ci
|
npm ci
|
||||||
npm run create:config
|
npm run create:config
|
||||||
npm run build:curriculum
|
npm run build:curriculum
|
||||||
@@ -141,7 +142,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cp sample.env .env
|
cp sample.env .env
|
||||||
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
|
echo 'SHOW_UPCOMING_CHANGES=true' >> .env
|
||||||
echo 'SHOW_NEW_CURRICULUM=true' >> .env
|
|
||||||
cat .env
|
cat .env
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
@@ -149,6 +149,7 @@ jobs:
|
|||||||
CURRICULUM_LOCALE: ${{ matrix.locale }}
|
CURRICULUM_LOCALE: ${{ matrix.locale }}
|
||||||
CLIENT_LOCALE: ${{ matrix.locale }}
|
CLIENT_LOCALE: ${{ matrix.locale }}
|
||||||
run: |
|
run: |
|
||||||
|
echo npm version $(npm -v)
|
||||||
npm ci
|
npm ci
|
||||||
npm run create:config
|
npm run create:config
|
||||||
npm run build:curriculum
|
npm run build:curriculum
|
||||||
|
Reference in New Issue
Block a user