Skip to content

Stabilize visual regression screenshots (round 3) #6127

Stabilize visual regression screenshots (round 3)

Stabilize visual regression screenshots (round 3) #6127

Workflow file for this run

name: Lint
permissions:
contents: read
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
lint:
runs-on: pawtograder-ci
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Cache npm dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ runner.os }}-node-22-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ runner.os }}-node-22-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run linting check
run: npm run lint
# Fast, deterministic unit tests for the gradebook recalc computation (the math the
# gradebook-calculations e2e fixtures exercise end-to-end through the async pipeline).
# These run the real edge-function expression functions directly — no DB, no pipeline.
deno-unit-tests:
runs-on: pawtograder-ci
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Run Deno unit tests
run: npm run test:functions