Initial update for the bitmessage-js package #1

Merged
PeterSurda merged 15 commits from lee.miller/bitmessage-js:mac into master 2024-03-08 01:55:30 +01:00
4 changed files with 5 additions and 4 deletions
Showing only changes of commit 66fa3e0e63 - Show all commits

View File

@ -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

View File

@ -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

View File

@ -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) {

View File

@ -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",