File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Keep updates focused on the spec-aligned pnpm workspace. The legacy
4+ # `tokenhost-web-template/` directory is intentionally not included.
5+ - package-ecosystem : " npm"
6+ directory : " /"
7+ schedule :
8+ interval : " weekly"
9+ open-pull-requests-limit : 5
10+
11+ - package-ecosystem : " github-actions"
12+ directory : " /"
13+ schedule :
14+ interval : " weekly"
15+ open-pull-requests-limit : 5
16+
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 20
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : " 20"
21+
22+ - name : Setup pnpm
23+ uses : pnpm/action-setup@v4
24+ with :
25+ version : " 10.12.1"
26+
27+ - name : Get pnpm store dir
28+ id : pnpm-store
29+ run : echo "store_path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT"
30+
31+ - name : Cache pnpm store
32+ uses : actions/cache@v4
33+ with :
34+ path : ${{ steps.pnpm-store.outputs.store_path }}
35+ key : pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
36+ restore-keys : |
37+ pnpm-store-${{ runner.os }}-
38+
39+ - name : Install
40+ run : pnpm install --frozen-lockfile
41+
42+ - name : Test
43+ run : pnpm test
44+
45+ - name : Typecheck
46+ run : pnpm typecheck
47+
48+ - name : Audit (non-blocking)
49+ continue-on-error : true
50+ run : pnpm audit --audit-level high
You can’t perform that action at this time.
0 commit comments