profectus-template/.forgejo/workflows/test.yaml

22 lines
408 B
YAML
Raw Normal View History

2023-11-05 13:28:43 +00:00
name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
2023-11-05 13:46:30 +00:00
runs-on: docker
2023-11-05 13:28:43 +00:00
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci
- run: npm run build --if-present
- run: npm test