Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d35058a

Browse files
fix: postinstall bug
1 parent 67987d9 commit d35058a

File tree

3 files changed

+53
-15
lines changed

3 files changed

+53
-15
lines changed

‎Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ RUN npm run build
3535
# Install benchmark
3636
WORKDIR /app/syntest-javascript-benchmark
3737
COPY .syntest.json .
38-
RUN npm install
39-
40-
# Install benchmark dependencies
41-
WORKDIR /app/syntest-javascript-benchmark/benchmark/express
4238
RUN npm run local:install
4339

44-
WORKDIR /app/syntest-javascript-benchmark
45-
4640
CMD timeout -k 25m 25m npx syntest javascript test --target-root-directory=${target_root_directory} --include=${include} --preset=${preset} --total-time=${time}

‎package-lock.json

Lines changed: 51 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
"url": "git+https://github.com/syntest-framework/syntest-javascript-benchmark.git"
2222
},
2323
"scripts": {
24-
"local:install": "npm i && ./scripts/link.sh",
25-
"posti": "npm run postinstall",
26-
"postinstall": "./scripts/install.sh"
24+
"local:install": "npm i && ./scripts/link.sh && npm run sub:install",
25+
"sub:install": "./scripts/install.sh"
2726
},
2827
"dependencies": {
2928
"@syntest/cli": "^0.2.1",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /