Files
euchre_camp/.gitea/workflows/test.yml
T
david ba180ae6e1
Test / unit-tests (push) Failing after 9s
Pull Request / unit-tests (pull_request) Failing after 9s
Pull Request / acceptance-tests (pull_request) Has been skipped
Pull Request / analyze-bump-type (pull_request) Has been skipped
fix: move node_modules to /workspace in CI image and update symlink
2026-03-31 22:57:10 -07:00

28 lines
692 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
- name: Link node_modules from container
run: |
# Create symlink to pre-installed node_modules in container
ln -sf /workspace/node_modules ./node_modules
- name: Run unit tests
run: npm run test:run