Turbo cache (#767)

* Try to add vercel caching with turbo

* Update lockfile

* Update turbo json file

* Fix CI

* Add new rule

* re-launch ci

* Update CI to use Turbo

* Use yarn turbo build
This commit is contained in:
Thomas Camlong
2023-03-18 18:19:28 +08:00
committed by GitHub
parent 47cb9cd5b6
commit 04a304dcd6
5 changed files with 48 additions and 32 deletions

View File

@@ -24,11 +24,14 @@ env:
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
yarn_install_and_build:
yarn_install_and_build_dev:
runs-on: ubuntu-latest
permissions:
packages: write
@@ -67,7 +70,7 @@ jobs:
- run: yarn install --immutable
- run: yarn build
- run: yarn turbo build
- name: Docker meta
if: github.event_name != 'pull_request'