25 lines
538 B
YAML
25 lines
538 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
unit-tests:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docker.notsosm.art/euchre-camp-ci-runner:latest
|
|
options: --user root
|
|
# Skip if this is an auto-generated version bump commit (handled by release workflow)
|
|
if: "!contains(github.event.head_commit.message, 'chore: bump version')"
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: /app
|
|
|
|
- name: Run unit tests
|
|
run: npm run test:run
|