Skip to content

Commit 2af9885

Browse files
integrationTests: always build npm packages before tests (#2929)
1 parent 4498246 commit 2af9885

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ jobs:
7272
- name: Install Dependencies
7373
run: npm ci
7474

75-
- name: Build NPM package
76-
run: npm run build:npm
77-
78-
- name: Build Deno package
79-
run: npm run build:deno
80-
8175
- name: Run Integration Tests
8276
run: npm run check:integrations
8377

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.js",
3030
"changelog": "node resources/gen-changelog.js",
3131
"benchmark": "node benchmark/benchmark.js",
32-
"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",
32+
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run check:integrations",
3333
"lint": "eslint --cache .",
3434
"check": "flow check",
3535
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
3636
"testonly:cover": "nyc npm run testonly",
3737
"prettier": "prettier --write --list-different .",
3838
"prettier:check": "prettier --check .",
3939
"check:spelling": "cspell --no-progress '**/*'",
40-
"check:integrations": "mocha --full-trace integrationTests/*-test.js",
40+
"check:integrations": "npm run build:npm && npm run build:deno && mocha --full-trace integrationTests/*-test.js",
4141
"build:npm": "node resources/build-npm.js",
4242
"build:deno": "node resources/build-deno.js",
4343
"gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",

0 commit comments

Comments
 (0)