Skip to content

Commit

Permalink
test: add vite
Browse files Browse the repository at this point in the history
  • Loading branch information
xantiagoma committed Sep 9, 2023
1 parent 689ba6b commit cb3e372
Show file tree
Hide file tree
Showing 5 changed files with 2,127 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
node-version: 18.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run lint && pnpm run build
- run: pnpm run lint
- run: pnpm run test
- run: pnpm run build
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "tsup src/index.ts --format cjs,esm --dts",
"release": "pnpm run build && changeset publish",
"lint": "tsc",
"test": "vitest",
"generate:changelog": "changeset",
"generate:version": "changeset version",
"db:generate": "drizzle-kit generate:sqlite",
Expand Down Expand Up @@ -43,7 +44,8 @@
"drizzle-kit": "^0.19.13",
"tsup": "^7.2.0",
"tsx": "^3.12.8",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"vitest": "^0.34.4"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit cb3e372

Please sign in to comment.