From de532c72d67298c06b95117882394f4e91bd01f2 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Sat, 8 Oct 2022 21:15:37 +0400 Subject: [PATCH] custom squiggle-components outputs; never cache coverage --- .github/workflows/ci.yml | 2 +- turbo.json | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f37166d..bbb6a7ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,4 +43,4 @@ jobs: - name: Install dependencies run: yarn - name: Coverage - run: npx turbo run coverage --no-cache # coverage builds for squiggle-lang can generate slower code that should never be cached + run: npx turbo run coverage diff --git a/turbo.json b/turbo.json index 04a28873..3e4db27a 100644 --- a/turbo.json +++ b/turbo.json @@ -9,7 +9,12 @@ "vscode-squiggle#build": { "dependsOn": ["^build", "@quri/squiggle-components#bundle"] }, + "@quri/squiggle-components#build": { + "dependsOn": ["^build"], + "outputs": ["dist/**", "storybook-static/**"] + }, "@quri/squiggle-lang#build": { + "dependsOn": ["^build"], "outputs": [ "__tests__/**/*.bs.js", "benchmark/**/*.bs.js", @@ -25,6 +30,8 @@ "bundle": { "dependsOn": ["^build", "build"] }, - "coverage": {} + "coverage": { + "cache": false + } } }