Skip to content

Commit

Permalink
Optimize build and test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Oct 7, 2024
1 parent 1ef2953 commit 649f06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ jobs:
node-version: 22
check-latest: true
- run: npm install
- run: npm run build
- run: npm test
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"distribution"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "del-cli distribution && tsc",
"pretest": "npm run build",
"test": "xo && c8 ava"
},
"repository": {
Expand Down

0 comments on commit 649f06e

Please sign in to comment.