Files
TMDB-Embed-API/.github/workflows/main.yml
T
2025-04-12 16:40:31 +01:00

35 lines
646 B
YAML

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [23.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Run Tests
run: npm run test:ci
# Optional: Show test output log (if you use one)
- name: Show test log
if: always()
run: |
cat jest.log || echo "No jest.log found"