Profectus/.forgejo/workflows/test.yaml

21 lines
369 B
YAML
Raw Normal View History

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: docker
2024-10-19 05:34:32 -05:00
container:
2024-10-19 06:13:24 -05:00
image: node:21-bullseye
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run lint