-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.05 KB
/
Copy pathcontent-quality.yml
File metadata and controls
54 lines (50 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
53
54
name: Content Quality
on:
pull_request:
paths:
- "content/**"
- "course/**"
- "source/**"
- "scripts/**"
- "tests/**"
- "app/**"
- "components/**"
- "lib/**"
- "package.json"
- "package-lock.json"
- "vitest.config.ts"
- ".github/workflows/**"
push:
branches: [main]
paths:
- "content/**"
- "course/**"
- "source/**"
- "scripts/**"
- "tests/**"
- "app/**"
- "components/**"
- "lib/**"
- "package.json"
- "package-lock.json"
- "vitest.config.ts"
- ".github/workflows/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: content-quality-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Validate content and application
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run quality:content