Skip to content

Commit

Permalink
add tsc check
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Colom committed Aug 23, 2023
1 parent 9f3d78c commit 47c3744
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
with:
node-version: 16.x
- run: npm install
- run: npm test
- run: npm lint
- run: npm run test:coverage

publish-npm:
needs: build
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"test": "jest",
"lint": "eslint .",
"prepare": "husky install",
"validate:code": "npm run lint -- --fix && npm t",
"validate:code": "npm run lint -- --fix && tsc --noEmit && npm t",
"test:commit": "jest --colors --bail --findRelatedTests",
"test:coverage": "jest --collectCoverage",
"test:coverage": "tsc --noEmit && jest --collectCoverage",
"build": "rm -rf dist && tsc",
"storybook": "react-native-storybook-server",
"storybook-watcher": "sb-rn-watcher --config-path .ondevice",
Expand Down

0 comments on commit 47c3744

Please sign in to comment.