Skip to content

Commit

Permalink
chore(scripts): add check:ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 29, 2021
1 parent c0c9db8 commit 1233da6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ jobs:
run: yarn check:format
- id: check-style
name: Check code style
run: yarn check:style --max-warnings 0
- id: check-types
name: Check types
run: yarn check:types
run: yarn check:style
- id: env
name: Set build environment variables
run: node ./tools/cli/loadenv.cjs -gc=test
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@
"clean:yarn": "rimraf .yarn/cache .yarn/*.gz",
"clean": "concurrently \"yarn:clean:*\"",
"postinstall": "is-ci || chmod +x .husky/* && husky install",
"check:ci": "yarn check:format && yarn check:style && yarn build --tarball",
"check:dedupe": "yarn dedupe --check",
"check:format": "prettier --check .",
"check:install": "yarn dlx @yarnpkg/doctor .",
"check:style": "eslint . --ext cjs,cts,md,mjs,mts,ts",
"check:style": "eslint . --ext cjs,cts,md,mjs,mts,ts --max-warnings 0",
"check:types": "tsc -p tsconfig.prod.json --noEmit",
"check:upgrades": "yarn upgrade-interactive",
"fix:format": "prettier --write .",
Expand Down

0 comments on commit 1233da6

Please sign in to comment.