From e001ae87ff1eee33f1d60ab6d6141d6e7214ab64 Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Mon, 21 Nov 2022 22:06:11 -0500 Subject: Clean before build (#16) * Move main.css to Layout component * Add step to clean Gatsby before build --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48c4bc7..683f9ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,8 @@ jobs: cache: 'npm' - name: Install Node.js packages run: npm ci + - name: Clean Gatsby cache + run: npm run clean - name: Run Gatsby Build run: npm run build --if-present - name: Commit public changes -- cgit