www/.gitea/workflows/tests.yml

18 lines
307 B
YAML
Raw Permalink Normal View History

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: npm install
run: npm ci --include=dev
- name: run tests
run: npm run test