Install browsers in the buildbot container and set CHROME_BIN for npm test
This commit is contained in:
parent
d7084961f1
commit
1622be8696
|
@ -1,7 +1,8 @@
|
||||||
FROM node:18-bullseye
|
FROM node:18-bullseye
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -yq --no-install-suggests --no-install-recommends xauth xvfb
|
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||||
|
xauth xvfb chromium firefox-esr
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json binding.gyp *.cc ./
|
COPY package*.json binding.gyp *.cc ./
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
npm test
|
CHROME_BIN=/usr/bin/chromium npm test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user