Files
zkldi_Tachi/.github/workflows/check.yml
T
2026-05-21 17:53:40 +01:00

50 lines
1.1 KiB
YAML

name: Check
on:
push:
branches:
- "main"
paths:
- "typescript/**"
- "biome.json"
- ".prettierrc"
- ".prettierignore"
- ".scripts/ts_machete.js"
- ".scripts/ts_autoinherit.js"
- ".github/workflows/check.yml"
pull_request:
branches:
- "main"
paths:
- "typescript/**"
- "biome.json"
- ".prettierrc"
- ".prettierignore"
- ".scripts/ts_machete.js"
- ".scripts/ts_autoinherit.js"
- ".github/workflows/check.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
container:
image: ghcr.io/zkldi/tachi-ci:main
options: --user root
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Check (format, lint, typecheck, machete, autoinherit)
run: just check
env:
NODE_ENV: "test"