fix: run unit tests on branch commits, skip main branch
Release / build-and-test (push) Has been cancelled

This commit is contained in:
2026-03-31 19:33:16 -07:00
parent b654571a37
commit 0343fa91d2
+2 -1
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- '**'
- '!main' # Skip main branch (release workflow handles that)
pull_request:
branches:
- main
@@ -29,7 +30,7 @@ jobs:
run: npm run test:run
# Acceptance tests that don't require DB read/write
# These are safe to run on every commit
# Only run on pull requests to main
safe-acceptance-tests:
runs-on: ubuntu-latest
needs: unit-tests