mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 12:05:39 -05:00
ci: re-enable pnpm caching (#55438)
This commit is contained in:
committed by
GitHub
parent
1db06e57a2
commit
a78e980cea
12
.github/workflows/node.js-tests.yml
vendored
12
.github/workflows/node.js-tests.yml
vendored
@@ -128,6 +128,7 @@ jobs:
|
||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Set Environment variables
|
||||
run: |
|
||||
@@ -146,6 +147,9 @@ jobs:
|
||||
echo pnpm version $(pnpm -v)
|
||||
pnpm install
|
||||
|
||||
- name: Install Chrome for Puppeteer
|
||||
run: pnpm dlx puppeteer browsers install chrome
|
||||
|
||||
- name: Run Tests
|
||||
run: pnpm test
|
||||
|
||||
@@ -172,6 +176,7 @@ jobs:
|
||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Set Environment variables
|
||||
run: |
|
||||
@@ -192,6 +197,9 @@ jobs:
|
||||
echo pnpm version $(pnpm -v)
|
||||
pnpm install
|
||||
|
||||
- name: Install Chrome for Puppeteer
|
||||
run: pnpm dlx puppeteer browsers install chrome
|
||||
|
||||
- name: Run Tests
|
||||
run: pnpm test
|
||||
|
||||
@@ -219,6 +227,7 @@ jobs:
|
||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Set Environment variables
|
||||
run: |
|
||||
@@ -249,6 +258,9 @@ jobs:
|
||||
run: |
|
||||
pnpm run build
|
||||
|
||||
- name: Install Chrome for Puppeteer
|
||||
run: pnpm dlx puppeteer browsers install chrome
|
||||
|
||||
- name: Run Tests
|
||||
env:
|
||||
CURRICULUM_LOCALE: ${{ matrix.locale }}
|
||||
|
||||
Reference in New Issue
Block a user