Profectus/.github/workflows/test.yml
2024-10-19 06:13:24 -05:00

22 lines
441 B
YAML

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js 21.x
uses: actions/setup-node@v3
with:
node-version: 21.x
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run lint