Skip to content

Commit 3ac1f32

Browse files
committed
chore: Run transpilation check instead of full build
1 parent ae2f61c commit 3ac1f32

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/skills/add-component-property/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ Run tests and verify in Storybook:
242242
# Run tests
243243
npm run test
244244

245-
# Build project
246-
npm run build
245+
# Check that the project will transpile
246+
npm run check-types
247247

248248
# Start Storybook
249249
npm run storybook

.github/skills/create-new-component/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,13 @@ export { default as Igc[ComponentName]Component } from './components/[component-
372372
export { default as IgcProgressBarComponent } from './components/progress-bar/progress-bar.js';
373373
```
374374

375-
### 10. Build and Test
375+
### 10. Type-Check and Test
376376

377-
Run the full build and test suite:
377+
Run type-checking and test suite:
378378

379379
```bash
380-
# Build the project
381-
npm run build
380+
# Check that the project will transpile
381+
npm run check-types
382382

383383
# Run tests
384384
npm run test
@@ -401,7 +401,7 @@ Verify all of the following:
401401
- [ ] Test file with accessibility tests
402402
- [ ] Storybook story file
403403
- [ ] Exported from `src/index.ts` alphabetically
404-
- [ ] TypeScript compiles (`npm run build`)
404+
- [ ] TypeScript compiles (`npm run check-types`)
405405
- [ ] Tests pass (`npm run test`)
406406
- [ ] Component appears in Storybook
407407
- [ ] All theme variants render correctly

.github/skills/review-component-pr/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ describe('Component', () => {
369369

370370
### 13. Build & Compilation
371371

372-
- [ ] **TypeScript compiles** without errors: `npm run build`
372+
- [ ] **TypeScript compiles** without errors: `npm run check-types`
373373
- [ ] **No linting errors**: Check biome/eslint output
374374
- [ ] **SCSS transpiled** to `.css.js` files
375375
- [ ] **All tests pass**: `npm run test`

0 commit comments

Comments
 (0)