mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-26 17:07:58 +03:00
50 lines
1.1 KiB
YAML
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"
|