courstex/.forgejo/workflows/jtex.yml

18 lines
360 B
YAML

name: jtex
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
PATH: "$HOME/.local/bin:$PATH"
npm_config_prefix: "$HOME/.local"
jobs:
test:
name: test template.yml
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install -g jtex
- run: jtex check