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+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ pull_request :
7+ branches : [main, master]
8+
9+ jobs :
10+ ci :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - uses : pnpm/action-setup@v4
16+ with :
17+ version : 9
18+
19+ - uses : actions/setup-node@v4
20+ with :
21+ node-version : " 20"
22+ cache : " pnpm"
23+
24+ - run : pnpm install --frozen-lockfile
25+
26+ - run : pnpm test
27+
28+ - run : pnpm build
Original file line number Diff line number Diff line change 2222 "dev" : " tsx src/cli.ts" ,
2323 "start" : " node dist/cli.js" ,
2424 "test" : " vitest run" ,
25- "test:watch" : " vitest"
25+ "test:watch" : " vitest" ,
26+ "bump" : " bumpp" ,
27+ "bump:patch" : " pnpm version patch" ,
28+ "bump:minor" : " pnpm version minor" ,
29+ "bump:major" : " pnpm version major" ,
30+ "release" : " pnpm run test && pnpm run build && pnpm version patch && pnpm publish" ,
31+ "release:beta" : " pnpm run test && pnpm run build && pnpm version prerelease --preid=beta && pnpm publish --tag beta"
2632 },
2733 "keywords" : [
2834 " dev-server" ,
4551 "tsc-alias" : " ^1.8.10" ,
4652 "tsx" : " ^4.19.2" ,
4753 "typescript" : " ^5.7.2" ,
48- "vitest" : " ^2.1.6"
54+ "vitest" : " ^2.1.6" ,
55+ "bumpp" : " ^10.0.0"
4956 },
5057 "packageManager" : " pnpm@9.15.0"
5158}
You can’t perform that action at this time.
0 commit comments