From 2264d6d93cdfc6cd9eafa575774d0ec09c83da03 Mon Sep 17 00:00:00 2001 From: Lenny Peters Date: Thu, 19 Dec 2024 09:06:27 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20addressing=20build=20befo?= =?UTF-8?q?re=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/githubactions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/githubactions.yml b/.github/workflows/githubactions.yml index 6654ad3..f2a1303 100644 --- a/.github/workflows/githubactions.yml +++ b/.github/workflows/githubactions.yml @@ -89,14 +89,14 @@ jobs: - name: Install npm if: steps.npm-cache.outputs.cache-hit != 'true' run: npm install + - name: Run Build + run: npm run build - name: Playwright install run: npx playwright install --with-deps - name: Install Percy CLI run: npm install --save-dev @percy/cli - name: Run Percy Snapshot - run: npx percy snapshot _site/ - - name: Run Build - run: npm run build + run: npx percy snapshot ./dist/index.html - name: Run e2e run: npm run e2e:test - uses: actions/upload-artifact@v4