From 6e924d9969499e5e4792d88ea4d3c7c29c33b16b Mon Sep 17 00:00:00 2001 From: Lachlan Heywood Date: Thu, 2 May 2024 14:26:11 -0400 Subject: [PATCH] ci(washboard): update workflow Signed-off-by: Lachlan Heywood --- .github/workflows/washboard.yml | 12 ++++++------ washboard-ui/turbo.json | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/washboard.yml b/.github/workflows/washboard.yml index 1ebaeeb2a8..904ae2372d 100644 --- a/.github/workflows/washboard.yml +++ b/.github/workflows/washboard.yml @@ -52,19 +52,19 @@ jobs: run: yarn install --immutable - name: Prettier - run: yarn run turbo:format:prettier:check + run: yarn run turbo:format - name: ESLint - run: yarn run turbo:lint:eslint + run: yarn run turbo:lint - - name: Vitest - run: yarn run turbo:test:vitest + - name: Unit Tests + run: yarn run turbo:test:unit - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - - name: Playwright Tests - run: yarn run test:playwright:headless + - name: E2E Tests + run: yarn run turbo:test:e2e - name: Build run: yarn run turbo:build diff --git a/washboard-ui/turbo.json b/washboard-ui/turbo.json index 8aea5c3e9d..22d5eb815f 100644 --- a/washboard-ui/turbo.json +++ b/washboard-ui/turbo.json @@ -18,6 +18,9 @@ "outputs": ["playwright-report", "test-results"] }, "test:unit": {}, + "test": { + "dependsOn": ["test:unit", "test:e2e"] + }, "build": { "dependsOn": ["^build"], "outputs": ["dist/**", "build/**"],