Skip to content

Merge pull request #274 from tharropoulos/node #198

Merge pull request #274 from tharropoulos/node

Merge pull request #274 from tharropoulos/node #198

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm test -- --ci --color
- uses: actions/upload-artifact@v4
if: always()
with:
name: screenshots
path: screenshots/
retention-days: 1