Initial update for the bitmessage-js package #1
|
@ -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
|
||||||
ADD src ./src
|
ADD src ./src
|
||||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -yq --no-install-suggests --no-install-recommends \
|
apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||||
xauth xvfb
|
xauth xvfb chromium firefox-esr
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install
|
- name: Install
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
process.env.CHROME_BIN = "chromium-browser";
|
process.env.CHROME_BIN = "/usr/bin/chromium";
|
||||||
var allTests = process.env.ALL_TESTS === "1";
|
var allTests = process.env.ALL_TESTS === "1";
|
||||||
|
|
||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"install": "node-gyp rebuild || exit 0",
|
"install": "node-gyp rebuild || exit 0",
|
||||||
"test": "ALL_TESTS=1 mocha && ALL_TESTS=1 xvfb-run -a karma start --browsers Chromium && ALL_TESTS=1 xvfb-run -a karma start --browsers Firefox && jshint .",
|
"test": "ALL_TESTS=1 mocha && xvfb-run -a karma start && jshint .",
|
||||||
"m": "mocha",
|
"m": "mocha",
|
||||||
"kc": "xvfb-run -a karma start --browsers Chromium",
|
"kc": "xvfb-run -a karma start --browsers Chromium",
|
||||||
"kf": "xvfb-run -a karma start --browsers Firefox",
|
"kf": "xvfb-run -a karma start --browsers Firefox",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user