diff --git a/.github/workflows/node.js-tests.yml b/.github/workflows/node.js-tests.yml index ab7ccd66279..91c5a006ba9 100644 --- a/.github/workflows/node.js-tests.yml +++ b/.github/workflows/node.js-tests.yml @@ -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 }}