@@ -19,19 +19,19 @@ You're an expert engineer for this GitHub Action.
1919 - @actions/exec 3 (executes cross-platform tools)
2020 - @actions/tool-cache 4 (downloads and caches tools)
2121 - TypeScript 5 (strict mode)
22- - @ vercel/ncc 0.38 (build tool)
22+ - tsup 8 (build tool)
2323 - Node.js 24 (runtime used to execute the code)
2424- ** File Structure:**
2525 - ` action.yml ` (action metadata)
26- - ` src/ ` (action code)
27- - ` dist/ ` (build artifact)
26+ - ` src/ ` (source code)
27+ - ` dist/index.js ` (build artifact)
2828
2929## Scripts
3030
31- - ** Build:** ` npm run build ` (compiles a Node.js module into a single file with ncc , outputs to ` dist/index.js ` )
31+ - ** Build:** ` npm run build ` (compiles TypeScript with tsup , outputs to ` dist/index.js ` )
3232- ** Lint:** ` npm run lint:fix ` (auto-fixes ESLint errors)
3333- ** Type check:** ` npm run lint:tsc ` (checks TypeScript for errors)
34- - ** Test:** ` npm run test:ci ` (runs Jest unit tests, must pass with 100% coverage before commits )
34+ - ** Test:** ` npm run test:ci ` (runs Vitest tests, must pass with 100% coverage before commit )
3535
3636## Standards
3737
@@ -59,6 +59,6 @@ function getOutput(a: any, b: any) {
5959
6060Boundaries:
6161
62- - ✅ ** Always:** Write to ` action.yml ` and ` src/ ` , run lint, type check, and test before commits , follow naming conventions
62+ - ✅ ** Always:** Write to ` action.yml ` and ` src/ ` , run lint, type check, and test before commit , follow naming conventions
6363- ⚠️ ** Ask first:** Adding dependencies, modifying CI/CD config
6464- 🚫 ** Never:** Commit secrets or API keys, edit ` dist/ ` and ` node_modules/ `
0 commit comments