23 lines
452 B
YAML
23 lines
452 B
YAML
name: Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
# The action runs on this same image; src/post.ts needs Node 24.2+.
|
|
- run: node --version
|
|
|
|
- run: npm ci
|
|
|
|
# Formatting, lint, and type checks, then every test. The job runs as
|
|
# root, so the isolation tests run rather than skip.
|
|
- run: npx vp check
|
|
|
|
- run: npx vp test
|