diff --git a/.github/workflows/ci-code-check.yml b/.github/workflows/ci-code-check.yml index 62eadbff8b68..219d229b6e70 100644 --- a/.github/workflows/ci-code-check.yml +++ b/.github/workflows/ci-code-check.yml @@ -54,10 +54,6 @@ jobs: path: .turbo/cache - name: Cache TypeCheck uses: actions/cache@v4 - env: - TURBO_API: ${{ vars.TURBOAPI }} - TURBO_TOKEN: ${{ vars.TURBOREMOTEAPIKEY }} - TURBO_TEAM: rocket.chat if: matrix.check == 'ts' with: path: ./apps/meteor/tsconfig.typecheck.tsbuildinfo @@ -69,10 +65,18 @@ jobs: - name: TS TypeCheck if: matrix.check == 'ts' + env: + TURBO_API: ${{ vars.TURBOAPI }} + TURBO_TOKEN: ${{ vars.TURBOREMOTEAPIKEY }} + TURBO_TEAM: rocket.chat run: yarn turbo run typecheck - name: Cache eslint uses: actions/cache@v4 + env: + TURBO_API: ${{ vars.TURBOAPI }} + TURBO_TOKEN: ${{ vars.TURBOREMOTEAPIKEY }} + TURBO_TEAM: rocket.chat if: matrix.check == 'lint' with: path: ./apps/meteor/.eslintcache