Skip to content

Commit

Permalink
Remove tsc GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Aug 7, 2023
1 parent ea61e4a commit e0bfce9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/js-sdk-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,3 @@ jobs:
node-version: '16.x'
- run: npm i
- run: npm run ci
tsc:
runs-on: ubuntu-latest
name: Check typescript
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm i
- run: npm run tsc
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm run ci
14 changes: 2 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,11 @@
"ci": "prettier . -c && eslint . --ext .ts,.tsx",
"prettier": "prettier . -w",
"lint": "eslint . --ext .ts,.tsx --fix",
"prepare": "husky install",
"tsc": "tsc"
},
"lint-staged": {
"**/*.{ts?(x),js?(x),json,md}": [
"prettier --write"
],
"**/*.ts": [
"eslint --fix"
]
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged"
"pre-commit": "npm run ci"
}
},
"devDependencies": {
Expand All @@ -26,7 +17,6 @@
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^36.1.0",
"husky": "^7.0.0",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
}
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", "**/examples"]
"exclude": ["node_modules", "test", "lib", "**/*spec.ts", "dist"]
}

0 comments on commit e0bfce9

Please sign in to comment.