From 87f46e22d843732ed74b829d30e54211b4583383 Mon Sep 17 00:00:00 2001 From: Jeremy Nguyen Date: Sun, 28 Jan 2024 20:48:18 -0800 Subject: [PATCH] chore: add turborepo cache to GH actions --- .eslintrc.js | 4 +--- .github/workflows/ci.yml | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index bb4357a..c202926 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,7 +2,5 @@ module.exports = { ignorePatterns: ["apps/**", "packages/**"], extends: ["@repo/eslint-config/library.js"], - parserOptions: { - project: true, - }, + root: true, }; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc81892..b479942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ jobs: build_and_lint: name: Build and Lint runs-on: ubuntu-latest + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} + TURBO_REMOTE_ONLY: true steps: - name: Check out code