Profectus/.forgejo/workflows/test.yaml
thepaperpilot 143b0773e7
Some checks failed
Run Tests / test (pull_request) Failing after 2m2s
Add eslint workflow action and CONTRIBUTING.md that says to lint first
2024-02-17 20:16:00 -06:00

22 lines
434 B
YAML

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: docker
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
- run: npm run lint