Skip to content

Commit 012f9e2

Browse files
Move prettier down in the order of tests (graphql#2654)
1 parent 2736f45 commit 012f9e2

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
- name: Install Dependencies
2727
run: npm ci
2828

29-
- name: Lint Prettier
30-
run: npm run prettier:check
31-
3229
- name: Lint ESLint
3330
run: npm run lint
3431

3532
- name: Lint Flow
3633
run: npm run check
3734

35+
- name: Lint Prettier
36+
run: npm run prettier:check
37+
3838
- name: Spellcheck
3939
run: npm run check:spelling
4040

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,23 @@
2727
"node": ">= 10.x"
2828
},
2929
"scripts": {
30-
"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",
31-
"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",
30+
"preversion": ". ./resources/checkgit.sh && npm ci",
31+
"version": "node resources/gen-version.js && npm test && git add src/version.js",
3232
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.js",
33+
"changelog": "node resources/gen-changelog.js",
34+
"benchmark": "node --noconcurrent_sweeping --expose-gc --predictable ./resources/benchmark.js",
35+
"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",
36+
"lint": "eslint --cache --ext .js,.ts src resources integrationTests",
37+
"check": "flow check",
38+
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
3339
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
3440
"testonly:cover": "nyc npm run testonly",
35-
"lint": "eslint --cache --ext .js,.ts src resources integrationTests",
36-
"benchmark": "node --noconcurrent_sweeping --expose-gc --predictable ./resources/benchmark.js",
3741
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{js,ts,md,json,yml}\"",
3842
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{js,ts,md,json,yml}\"",
39-
"check": "flow check",
40-
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
4143
"check:spelling": "cspell \"./{src/**/,resources/**/,integrationTests/**/}*.{js,ts,md,graphql}\"",
4244
"check:integrations": "mocha --full-trace integrationTests/*-test.js",
4345
"build:npm": "node resources/build-npm.js",
4446
"build:deno": "node resources/build-deno.js",
45-
"changelog": "node resources/gen-changelog.js",
46-
"preversion": ". ./resources/checkgit.sh && npm ci",
47-
"version": "node resources/gen-version.js && npm test && git add src/version.js",
4847
"gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",
4948
"gitpublish:deno": "bash ./resources/gitpublish.sh deno denoDist"
5049
},

0 commit comments

Comments
 (0)