Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

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 30, 2021
1 parent 35fb2e0 commit 2c86c10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
PAT_GPR: ${{ secrets.PAT_GPR_ADMIN }}
strategy:
matrix:
node: [14.x, 16.x]
node: [14.x, 16.0.0]
steps:
- id: checkout
name: Checkout branch
Expand All @@ -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 @@ -85,10 +85,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,md,mjs,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 2c86c10

Please sign in to comment.