File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ workflow_dispatch :
78
89jobs :
910 check :
4142 contents : write
4243 runs-on : ubuntu-latest
4344 needs : [check, format, lint, test]
44- if : needs.check.outputs.changed == 'true'
45+ if :
46+ needs.check.outputs.changed == 'true' || github.event_name ==
47+ ' workflow_dispatch'
4548 steps :
4649 - name : ⬇️ Checkout code
4750 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 33Agent guidance for the ` @echecs/uci ` repository — a TypeScript wrapper around
44UCI chess engine processes, providing a typed event-emitter API.
55
6+ ** Backlog:** tracked in [ GitHub Issues] ( https://github.com/mormubis/uci/issues ) .
7+
68---
79
810## Project Overview
@@ -283,6 +285,9 @@ Step-by-step process for releasing a new version. CI auto-publishes to npm when
283285 git push
284286 ```
285287
288+ ** The push is mandatory.** The release workflow only triggers on push to
289+ ` main ` . A commit without a push means the release never happens.
290+
2862917 . ** CI takes over:** GitHub Actions detects the version bump, runs format →
287292 lint → test, and publishes to npm.
288293
Original file line number Diff line number Diff line change 11# UCI
22
33[ ![ npm] ( https://img.shields.io/npm/v/@echecs/uci )] ( https://www.npmjs.com/package/@echecs/uci )
4- [ ![ Test] ( https://github.com/mormubis/uci/actions/workflows/test.yml/badge.svg )] ( https://github.com/mormubis/uci/actions/workflows/test.yml )
54[ ![ Coverage] ( https://codecov.io/gh/mormubis/uci/branch/main/graph/badge.svg )] ( https://codecov.io/gh/mormubis/uci )
65[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( LICENSE )
76[ ![ API Docs] ( https://img.shields.io/badge/API-docs-blue.svg )] ( https://mormubis.github.io/uci/ )
Original file line number Diff line number Diff line change 1818 "eslint-config-prettier" : " ^10.1.8" ,
1919 "eslint-import-resolver-typescript" : " ^4.4.4" ,
2020 "eslint-plugin-import-x" : " ^4.16.2" ,
21- "eslint-plugin-unicorn" : " ^63 .0.0" ,
21+ "eslint-plugin-unicorn" : " ^64 .0.0" ,
2222 "husky" : " ^9.1.7" ,
2323 "lint-staged" : " ^16.4.0" ,
2424 "prettier" : " ^3.8.1" ,
2525 "tsdown" : " ^0.21.4" ,
2626 "typedoc" : " ^0.28.17" ,
27- "typescript" : " ^5.9.3 " ,
27+ "typescript" : " ^6.0.2 " ,
2828 "typescript-eslint" : " ^8.57.0" ,
2929 "vite" : " ^6.4.1" ,
3030 "vitest" : " ^4.1.0"
Original file line number Diff line number Diff line change 11// eslint-disable-next-line @typescript-eslint/no-unused-vars
22function noop ( _value : string ) : undefined {
3- return undefined ;
3+ return ;
44}
55
66export default noop ;
You can’t perform that action at this time.
0 commit comments