diff --git a/.github/workflows/curriculum-i18n-submodule.yml b/.github/workflows/curriculum-i18n-submodule.yml index 2d0fdd72aae..7f69510791e 100644 --- a/.github/workflows/curriculum-i18n-submodule.yml +++ b/.github/workflows/curriculum-i18n-submodule.yml @@ -44,22 +44,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set Environment variables run: | cp sample.env .env diff --git a/.github/workflows/deploy-legacy.yml b/.github/workflows/deploy-legacy.yml index 5b73484a13c..713650fc7fd 100644 --- a/.github/workflows/deploy-legacy.yml +++ b/.github/workflows/deploy-legacy.yml @@ -99,22 +99,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Language specific ENV - [${{ matrix.lang-name-full }}] run: | if [ "${{ matrix.lang-name-full }}" = "english" ]; then diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml index d09aabd0a3d..e759fa26b9e 100644 --- a/.github/workflows/e2e-playwright.yml +++ b/.github/workflows/e2e-playwright.yml @@ -40,22 +40,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Checkout client-config uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: @@ -158,22 +142,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Install Dependencies run: pnpm install diff --git a/.github/workflows/e2e-third-party.yml b/.github/workflows/e2e-third-party.yml index a80413c298b..28ebb9a0e03 100644 --- a/.github/workflows/e2e-third-party.yml +++ b/.github/workflows/e2e-third-party.yml @@ -36,7 +36,6 @@ jobs: uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: node-version: ${{ matrix.node-version }} - cache: pnpm - name: Set freeCodeCamp Environment Variables run: | diff --git a/.github/workflows/i18n-validate-builds.yml b/.github/workflows/i18n-validate-builds.yml index 8451839523c..5b63054fb3f 100644 --- a/.github/workflows/i18n-validate-builds.yml +++ b/.github/workflows/i18n-validate-builds.yml @@ -33,22 +33,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set freeCodeCamp Environment Variables run: | cp sample.env .env diff --git a/.github/workflows/i18n-validate-prs.yml b/.github/workflows/i18n-validate-prs.yml index bdeb9057257..46aada91bbc 100644 --- a/.github/workflows/i18n-validate-prs.yml +++ b/.github/workflows/i18n-validate-prs.yml @@ -35,22 +35,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set freeCodeCamp Environment Variables run: | cp sample.env .env diff --git a/.github/workflows/node.js-tests.yml b/.github/workflows/node.js-tests.yml index 5950ea12c8c..9b031611c2d 100644 --- a/.github/workflows/node.js-tests.yml +++ b/.github/workflows/node.js-tests.yml @@ -51,22 +51,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set Environment variables run: | cp sample.env .env @@ -115,22 +99,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set freeCodeCamp Environment Variables run: | cp sample.env .env @@ -167,22 +135,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set Environment variables run: | cp sample.env .env @@ -233,22 +185,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set Environment variables run: | cp sample.env .env @@ -301,22 +237,6 @@ jobs: with: run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4 - with: - path: | - ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - # If source files changed but packages didn't, rebuild from a prior cache. - restore-keys: | - ${{ runner.os }}-freecodecamp-${{ hashFiles('**/pnpm-lock.yaml') }}- - - name: Set Environment variables run: | cp sample.env .env