Skip to content

Commit

Permalink
Fix tsc GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Aug 7, 2023
1 parent a7fbbda commit ea61e4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/js-sdk-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: yarn
- run: yarn tsc
- run: npm i
- run: npm run tsc
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"ci": "prettier . -c && eslint . --ext .ts,.tsx",
"prettier": "prettier . -w",
"lint": "eslint . --ext .ts,.tsx --fix",
"prepare": "husky install"
"prepare": "husky install",
"tsc": "tsc"
},
"lint-staged": {
"**/*.{ts?(x),js?(x),json,md}": [
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"strictNullChecks": true,
"esModuleInterop": true
},
"exclude": ["node_modules", "test", "lib", "**/*spec.ts", "dist"]
"exclude": ["node_modules", "test", "lib", "**/*spec.ts", "dist", "**/examples"]
}

0 comments on commit ea61e4a

Please sign in to comment.