Skip to content

Commit 3b6e983

Browse files
committed
ci: build before linting to ensure dist folder exists
The bin/run.js file imports from the dist folder, which needs to exist before linting can resolve those imports. Running build before lint ensures the TypeScript compiler generates the dist folder first.
1 parent c0dd61f commit 3b6e983

2 files changed

Lines changed: 2 additions & 31 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
node-version: 22.x
2323
cache: npm
2424
- run: npm ci
25+
- name: build
26+
run: npm run build
2527
- name: linting
2628
run: npm run lint
2729

package-lock.json

Lines changed: 0 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)