Skip to content

Commit

Permalink
fix: tests scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Aug 30, 2024
1 parent ef22666 commit 13b7f5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run test:init
- run: npm run test
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@
],
"scripts": {
"init": "husky install && npm run build",
"postinstall": "npm run test:init",
"precommit": "npm run lint && npm run test",
"build": "run-p build:*",
"build:js": "./esbuild/build.mjs",
"build:declarations": "tsc --emitDeclarationOnly --outDir .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test:init": "cd tests && npm ci",
"test": "cd tests && jest",
"test": "cd tests && npm ci && jest",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
Expand Down

0 comments on commit 13b7f5b

Please sign in to comment.