Skip to content

Commit

Permalink
Add simple tests and CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
catuhana committed Jul 13, 2024
1 parent 10faa72 commit 7da3265
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ jobs:
- name: Check formatting
run: pnpm lint:prettier

- name: Run tests
run: pnpm test

- name: Build package
run: pnpm build
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"scripts": {
"build": "unbuild",
"stub": "unbuild --stub",
"test": "vitest",
"lint:prettier": "prettier -c .",
"format:prettier": "prettier --write .",
"prepack": "pnpm build"
Expand All @@ -41,7 +42,8 @@
"@unocss/core": "^0.61.3",
"prettier": "^3.3.3",
"typescript": "^5.5.3",
"unbuild": "^3.0.0-rc.6"
"unbuild": "^3.0.0-rc.6",
"vitest": "^2.0.2"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading

0 comments on commit 7da3265

Please sign in to comment.