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