Skip to content

Commit 27b437b

Browse files
committed
Revert back to ncc for build
1 parent 0551596 commit 27b437b

3 files changed

Lines changed: 10 additions & 50 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/setup-node@v6
1414
with:
1515
node-version: '24'
16-
- uses: oven-sh/setup-bun@v2
1716
- run: npm ci
1817
- run: npm run lint
1918
- run: npm run build
19+
- run: git diff --exit-code dist/index.js
2020

2121
test:
2222
strategy:

dist/index.js

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"fmt": "prettier --write **/*.ts",
1010
"lint": "eslint **/*.ts",
11-
"build": "npm run -w setup-crate build && rm -rf dist/ && bun build src/index.ts --target=node --outfile=dist/index.js --minify",
11+
"build": "npm run -w setup-crate build && rm -rf dist/ && ncc build src/index.ts -o dist --minify",
1212
"run": "npm run build && RUNNER_TOOL_CACHE=./runner/cache RUNNER_TEMP=./runner/temp node dist/index.js"
1313
},
1414
"repository": {

0 commit comments

Comments
 (0)