Skip to content

Scheduling infrastructure for absolutely everyone.

e2e fixes

zomars3d4de9476d6f
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index abfa24cf190..2978050133d 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -57,22 +57,20 @@ jobs:
fetch-depth: 2
- name: Use Node ${{ matrix.node }}
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v2
with:
+ cache: "yarn"
+ cache-dependency-path: yarn.lock
node-version: ${{ matrix.node }}
- - name: Install deps
- uses: bahmutov/npm-install@v1
- - name: Next.js cache
+ - name: Turbo Cache
+ id: turbo-cache
uses: actions/cache@v2
with:
- path: ${{ github.workspace }}/.next/cache
- # Generate a new cache whenever packages or source files change.
- key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
- # If source files changed but packages didn't, rebuild from a prior cache.
+ path: .turbo
+ key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
- ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
-
+ turbo-${{ github.job }}-${{ github.ref_name }}-
- run: cd apps/web
- run: yarn prisma migrate deploy
- run: yarn db-seed