Skip to content

Commit

Permalink
integrationTests: always build npm packages before tests (#2929)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 20, 2021
1 parent 4498246 commit 2af9885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -72,12 +72,6 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Build NPM package
run: npm run build:npm

- name: Build Deno package
run: npm run build:deno

- name: Run Integration Tests
run: npm run check:integrations

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -29,15 +29,15 @@
"fuzzonly": "mocha --full-trace src/**/__tests__/**/*-fuzz.js",
"changelog": "node resources/gen-changelog.js",
"benchmark": "node benchmark/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",
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run check:integrations",
"lint": "eslint --cache .",
"check": "flow check",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"check:spelling": "cspell --no-progress '**/*'",
"check:integrations": "mocha --full-trace integrationTests/*-test.js",
"check:integrations": "npm run build:npm && npm run build:deno && mocha --full-trace integrationTests/*-test.js",
"build:npm": "node resources/build-npm.js",
"build:deno": "node resources/build-deno.js",
"gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",
Expand Down

0 comments on commit 2af9885

Please sign in to comment.