Skip to content

Fill in assertions for new meetup.com test cases #16

Fill in assertions for new meetup.com test cases

Fill in assertions for new meetup.com test cases #16

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
# Pushes from the "Refresh snapshots" workflow only touch this path and
# carry [skip ci]; this is a redundant extra guard against re-triggering
# this workflow.
paths-ignore:
- "test/snapshots/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Validate extension manifest.json
run: node -e "JSON.parse(require('fs').readFileSync('manifest.json'))"
# "For me" tests: deterministic, no network. These gate every change.
- name: Run offline tests
run: npm run test:offline
# "For you" tests: the reviewed assertions, run against the HTML
# snapshots committed to test/snapshots/ (kept fresh by the daily
# "Refresh snapshots" workflow — this job does not refresh them).
- name: Run live tests
run: npm run test:live