Skip to content

Commit e3f94f3

Browse files
committed
Modify CI to run build and examples
1 parent 70fcb7e commit e3f94f3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ jobs:
2727
cache: 'npm'
2828
- run: npm ci
2929
- run: npm run test
30+
- run: npm run build
31+
- run: npm run examples

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828
"scripts": {
2929
"build": "tsup lib/index.ts --target node16 --format cjs,esm --dts --clean",
30-
"examples": "npm run build && node examples/runner.js",
30+
"examples": "node examples/runner.js",
3131
"format": "prettier --write ./lib",
3232
"lint": "eslint --fix ./lib",
3333
"test": "vitest run --coverage",

0 commit comments

Comments
 (0)