Skip to content

Commit

Permalink
chore(ci): type check on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadashy committed Jul 21, 2024
1 parent 444ff63 commit 3842753
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,5 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Run type check
run: yarn type-check

- name: Lint
run: yarn lint
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,12 @@ yarn build safari
```

### Lint codes
Lint only.
Lint
```
# eslint, tsc --noEmit
yarn lint
```

Lint codes with fix.
```
yarn lint:fix
```

### Type Checking
```
yarn type-check
```

### Show supported browsers
```
yarn supported-browsers
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
"scripts": {
"dev": "webextension-toolbox dev",
"build": "webextension-toolbox build",
"lint": "eslint ./app --max-warnings 0 --cache --format friendly",
"lint:fix": "yarn lint --fix",
"lint": "eslint ./app --max-warnings 0 --cache --fix && tsc --noEmit",
"supported-browsers": "yarn browserslist",
"archive": "git archive HEAD -o storage/source.zip",
"type-check": "tsc --noEmit",
"preinstall": "typesync || :"
},
"repository": {
Expand Down

0 comments on commit 3842753

Please sign in to comment.