From 470dc01266778831e70e0ae366d75fd7f77a4686 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Sun, 26 May 2024 12:48:40 -0600 Subject: [PATCH] ci(dependency-graph): remove packing artifacts from cache --- .github/workflows/test-all-packages.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-all-packages.yml b/.github/workflows/test-all-packages.yml index 35f93c401855..ac490439afbb 100644 --- a/.github/workflows/test-all-packages.yml +++ b/.github/workflows/test-all-packages.yml @@ -68,6 +68,12 @@ jobs: - name: Pack packages run: yarn lerna run --reject-cycles --concurrency 1 prepack + # Don't put the prepack artifacts in the cache maintained by restore-node, + # since they are not .gitignored and thus will fail restore-node's check + # for a clean repo when the cache is restored. + - name: Prevent caching prepack artifacts + run: yarn lerna run postpack + ################## # Lint tests # We run per package bc of https://github.com/typescript-eslint/typescript-eslint/issues/1192