Skip to content

Commit 2c0e2b0

Browse files
committed
(#5) Removed postinstall step and added separate ci step to build scripts.
Trying to avoid loops on CI
1 parent 40939ff commit 2c0e2b0

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Diff for: .build/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ echo "npm ci"
2525
npm ci
2626
echo "npm run compile"
2727
npm run compile
28+
echo "init e2e test subpackage"
29+
npm --prefix e2e/tests ci
2830
echo "npm run coverage"
2931
E2E_TEST=1 npm run coverage

Diff for: .build/run_osx.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ echo $PWD
55

66
npm ci
77
npm run compile
8+
npm --prefix e2e/tests ci
89
npm test

Diff for: appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ install:
2323
- cd c:\projects\nut
2424
- npm ci
2525
- npm run compile
26+
- npm --prefix e2e/tests ci
2627

2728
build: off
2829

Diff for: package.json

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"scripts": {
4747
"clean": "rm -rf dist",
4848
"compile": "npm run clean && tsc -p .",
49-
"postinstall": "npm --prefix e2e/tests i",
5049
"test": "jest --runInBand",
5150
"test:e2e": "npm --prefix e2e/tests cit",
5251
"coverage": "jest --coverage --runInBand",

0 commit comments

Comments
 (0)