Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move prettier down in the order of tests #2654

Merged
merged 1 commit into from Jun 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -26,15 +26,15 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Lint Prettier
run: npm run prettier:check

- name: Lint ESLint
run: npm run lint

- name: Lint Flow
run: npm run check

- name: Lint Prettier
run: npm run prettier:check

- name: Spellcheck
run: npm run check:spelling

Expand Down
17 changes: 8 additions & 9 deletions package.json
Expand Up @@ -27,24 +27,23 @@
"node": ">= 10.x"
},
"scripts": {
"test": "npm run prettier:check && npm run lint && npm run check && npm run testonly && npm run check:spelling && npm run build:npm && npm run build:deno && npm run check:integrations",
"test:ci": "npm run prettier:check && npm run lint -- --no-cache && npm run check && npm run testonly:cover && npm run check:spelling && npm run build:npm && npm run build:deno && npm run check:integrations",
"preversion": ". ./resources/checkgit.sh && npm ci",
"version": "node resources/gen-version.js && npm test && git add src/version.js",
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.js",
"changelog": "node resources/gen-changelog.js",
"benchmark": "node --noconcurrent_sweeping --expose-gc --predictable ./resources/benchmark.js",
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run build:npm && npm run build:deno && npm run check:integrations",
"lint": "eslint --cache --ext .js,.ts src resources integrationTests",
"check": "flow check",
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"lint": "eslint --cache --ext .js,.ts src resources integrationTests",
"benchmark": "node --noconcurrent_sweeping --expose-gc --predictable ./resources/benchmark.js",
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{js,ts,md,json,yml}\"",
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{js,ts,md,json,yml}\"",
"check": "flow check",
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
"check:spelling": "cspell \"./{src/**/,resources/**/,integrationTests/**/}*.{js,ts,md,graphql}\"",
"check:integrations": "mocha --full-trace integrationTests/*-test.js",
"build:npm": "node resources/build-npm.js",
"build:deno": "node resources/build-deno.js",
"changelog": "node resources/gen-changelog.js",
"preversion": ". ./resources/checkgit.sh && npm ci",
"version": "node resources/gen-version.js && npm test && git add src/version.js",
"gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",
"gitpublish:deno": "bash ./resources/gitpublish.sh deno denoDist"
},
Expand Down