-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1021 Bytes
/
ci.yml
File metadata and controls
40 lines (36 loc) · 1021 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ShellCheck
run: sudo apt-get install -y shellcheck
- name: Lint shell scripts
run: shellcheck hooks/*.sh scripts/*.sh skills/*.sh tests/*.sh
markdownlint:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install -g markdownlint-cli
- name: Lint markdown files
run: markdownlint '**/*.md' --ignore '_bmad*/**' --ignore 'plans/**' --ignore 'node_modules/**'
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run wizard detection tests
run: bash tests/test-wizard-detect.sh
- name: Run structural tests
run: bash tests/phase-03-structural.sh