Skip to content

Commit

Permalink
workflow: run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DTrombett committed May 20, 2023
1 parent 6f3c6dc commit 1bf94b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm test:cli
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint": "eslint src --fix",
"prettier": "prettier --write src/**/*.ts",
"start": "npm run build && node --trace-warnings --enable-source-maps .",
"test": "eslint src && tsc && tsup _test.ts --format esm && node dist/_test.mjs",
"test": "npm run test:cli && tsup _test.ts --format esm && node dist/_test.mjs",
"test:cli": "eslint src && tsc",
"postinstall": "npm run build"
},
"repository": {
Expand Down

0 comments on commit 1bf94b1

Please sign in to comment.