-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (43 loc) · 1.52 KB
/
ci.yml
File metadata and controls
53 lines (43 loc) · 1.52 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
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
docs-quality:
name: Docs Quality
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Lint Markdown
run: npx --yes markdownlint-cli --config .markdownlint.json "**/*.md" "#node_modules" "#.git"
smoke-check:
name: Smoke Check Skill Install and Init
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Smoke check install command
run: npx --yes skills add ./skills/lean-loop -g -y
- name: Smoke check initialization templates
run: |
tmp_dir="$(mktemp -d)"
project_dir="$tmp_dir/project"
mkdir -p "$project_dir/.system"
cp ./skills/lean-loop/templates/plan-template.md "$project_dir/.system/PLAN.md"
cp ./skills/lean-loop/templates/state-template.md "$project_dir/.system/STATE.md"
cp ./skills/lean-loop/templates/log-template.md "$project_dir/.system/LOG.md"
cp ./skills/lean-loop/templates/tdd-rules-template.md "$project_dir/.system/TDD_RULES.md"
test -s "$project_dir/.system/PLAN.md"
test -s "$project_dir/.system/STATE.md"
test -s "$project_dir/.system/LOG.md"
test -s "$project_dir/.system/TDD_RULES.md"