Files
scrollsmith/.gitea/workflows/pr.yml
T
keligrubb 464ce22605
PR / lint (pull_request) Successful in 20s
PR / test-coverage (pull_request) Successful in 1m21s
Point Gitea Actions at git.keligrubb.com action mirrors.
Use self-hosted mirrors for checkout, setup-node, upload-artifact, and
download-artifact. Pin upload/download to v3 so artifact uploads work on
runners that do not support @actions/artifact v2 (GHES-style); set
download path to the workspace root for the release upload script.
2026-04-14 22:58:38 -04:00

44 lines
879 B
YAML

name: PR
on:
pull_request:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://git.keligrubb.com/actions/checkout@v6
- name: Setup Node
uses: https://git.keligrubb.com/actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
test-coverage:
name: test-coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://git.keligrubb.com/actions/checkout@v6
- name: Setup Node
uses: https://git.keligrubb.com/actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Test with coverage
run: npm run test:coverage