diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index 10d7f10143..4eb9510b68 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -56,7 +56,7 @@ jobs: run: pnpm i --no-frozen-lockfile - name: Build - run: pnpm -r build + run: pnpm --filiter=@public-ui/sample-react^... build - name: Purge existing snapshots run: find packages -name '*.png' -path '*/snapshots/*' | grep -v 'node_modules' | xargs rm # Remove any existing snapshots, except those in node_modules