This repository was archived by the owner on May 12, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (58 loc) · 1.32 KB
/
Copy pathmain.yml
File metadata and controls
62 lines (58 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Production Pipeline
on:
push:
branches: [ "master" ]
paths:
- 'apps/bot/**'
- 'packages/**'
- 'pnpm-lock.yaml'
- 'ecosystem.config.js'
tags:
- "khaxyrewrite@*"
pull_request:
branches: [ "master" ]
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
typecheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '22.16.0'
- uses: pnpm/action-setup@v2
with:
version: '10.11.1'
- run: pnpm install
- run: pnpm db:generate
- run: pnpm type-check
lint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '22.16.0'
- uses: pnpm/action-setup@v2
with:
version: '10.11.1'
- run: pnpm install
- run: pnpm lint
i18n-check:
name: i18n Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '22.16.0'
- uses: pnpm/action-setup@v2
with:
version: '10.11.1'
- run: pnpm install
- run: pnpm --filter khaxyrewrite run i18n:check