From d54c84b228845f6bbfb58bce220596878c0f72b6 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sun, 25 Dec 2022 02:55:46 +0200 Subject: [PATCH] Update buildbot dir, added ../out, may be used with -v --- .buildbot/node/Dockerfile | 5 +++-- .buildbot/node/test.sh | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.buildbot/node/Dockerfile b/.buildbot/node/Dockerfile index a919b82..7793287 100644 --- a/.buildbot/node/Dockerfile +++ b/.buildbot/node/Dockerfile @@ -3,8 +3,9 @@ FROM node:16 RUN apt-get update RUN apt-get install -yq --no-install-suggests --no-install-recommends xauth xvfb +RUN mkdir -p ../out + COPY . . RUN npm install - -CMD ["npm", "test"] +RUN npm audit fix diff --git a/.buildbot/node/test.sh b/.buildbot/node/test.sh index b41801e..a8aa481 100755 --- a/.buildbot/node/test.sh +++ b/.buildbot/node/test.sh @@ -1,3 +1,5 @@ #!/bin/sh npm test + +cp package*.json ../out