File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " typed-openapi " : minor
3+ ---
4+
5+ feat: add build-and-test github workflow
Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ name : Build
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+
12+ - name : Setup pnpm
13+ uses : pnpm/action-setup@v4
14+
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version-file : ' .nvmrc'
19+ cache : ' pnpm'
20+
21+ - name : Install dependencies
22+ run : pnpm install --frozen-lockfile
23+
24+ - name : Build
25+ run : pnpm build
26+
27+ - name : Test
28+ run : pnpm test
Original file line number Diff line number Diff line change 1919 uses : actions/setup-node@v4
2020 with :
2121 node-version-file : " .nvmrc"
22+ cache : ' pnpm'
2223
2324 - name : Setup pnpm
2425 uses : pnpm/action-setup@v4
You can’t perform that action at this time.
0 commit comments