diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a0019259df..f0b2035641 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -8,6 +8,11 @@ on: branches: - main +env: + TURBO_API: 'http://127.0.0.1:9080' + TURBO_TOKEN: ${{ secrets.TURBO_SERVER_TOKEN }} + TURBO_TEAM: ${{ github.repository_owner }} + jobs: run_e2e_tests: runs-on: ubuntu-latest @@ -38,6 +43,12 @@ jobs: - name: Install Playwright Browsers run: npx playwright install chromium --with-deps + - name: Setup local cache server for Turborepo + uses: felixmosh/turborepo-gh-artifacts@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + server-token: ${{ env.TURBO_TOKEN }} + - name: Build apps run: yarn turbo run build --color --concurrency=5