jstest.yml 468 B

12345678910111213141516171819
  1. name: jstest
  2. on: [push]
  3. jobs:
  4. jstest:
  5. runs-on: ubuntu-22.04
  6. name: jstest
  7. steps:
  8. - uses: actions/checkout@v3
  9. - uses: actions/setup-node@v4
  10. with:
  11. node-version: '22'
  12. - name: Install dependencies
  13. # npm install, not npm ci: the repo ignores package-lock.json (.gitignore), so
  14. # there is no committed lockfile for ci to read.
  15. run: npm install
  16. - name: Run frontend tests
  17. run: npm test