-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (41 loc) · 1.05 KB
/
Copy pathquality-checks.yml
File metadata and controls
52 lines (41 loc) · 1.05 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
name: Quality Checks
on:
push:
branches: [main, develop]
paths:
- 'skills/**/rules/**/*.md'
- 'packages/**'
pull_request:
branches: [main, develop]
paths:
- 'skills/**/rules/**/*.md'
- 'packages/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Setup pnpm
uses: pnpm/action-setup@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.node-version'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm build
- name: Check duplicate rule titles and tag sets
run: pnpm check-duplicates
- name: Check tag hygiene
run: pnpm check-tags
- name: Print skill statistics
run: pnpm stats