CI: skip build step in CI (Dockerfile handles it), reduce memory pressure
CI/CD / test (push) Failing after 46s Details
CI/CD / deploy (push) Has been skipped Details

This commit is contained in:
Jeff Emmett 2026-04-01 01:14:22 -07:00
parent c9f35d6e2f
commit 3c11524284
1 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,7 @@ env:
IMAGE: gitea.jeffemmett.com/jeffemmett/canvas-website
jobs:
test-and-build:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
@ -32,14 +32,9 @@ jobs:
- name: Worker tests
run: npx vitest run --config vitest.worker.config.ts || echo "::warning::Worker tests had failures"
- name: Build
run: npx vite build
env:
NODE_OPTIONS: "--max-old-space-size=4096"
deploy:
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
needs: [test-and-build]
needs: [test]
runs-on: ubuntu-latest
container:
image: docker:24-cli