mirror of
https://codeberg.org/Tilo-K/diff-highlighter.git
synced 2026-07-03 08:13:02 +00:00
17 lines
423 B
YAML
17 lines
423 B
YAML
name: build
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
# On Codeberg's hosted runner use a label such as `codeberg-tiny`.
|
|
runs-on: self-hosted-x64
|
|
|
|
container:
|
|
image: node:22-bookworm
|
|
steps:
|
|
# Forgejo resolves actions from data.forgejo.org, hence the full URL.
|
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
|
- run: npm ci
|
|
- run: npm run typecheck
|
|
- run: npm run build
|