From 10f314c4caa25dc3971aa58755880aa12dcded38 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 16 Jan 2026 18:17:41 -0800 Subject: [PATCH] build updates --- .github/workflows/static.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 1db6783..ce2b730 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,7 +1,8 @@ name: Deploy SvelteKit to GitHub Pages on: - workflow_dispatch: # allows manual trigger + push: + branches: [main] permissions: contents: read @@ -21,9 +22,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: .nvmrc + cache: npm # cache node_modules for faster builds - name: Install dependencies - run: npm i + run: npm ci # Build the SvelteKit project - name: Build project