Skip to content

Commit b54ff7b

Browse files
authored
modernize (#160)
* add gha, add package-lock, update tap->node-core-test * docs
1 parent c4c42eb commit b54ff7b

14 files changed

+10873
-62
lines changed

.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node: ['14', '16', '18']
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: ${{ matrix.node }}
16+
- run: npm ci
17+
- run: sudo apt-get install xvfb
18+
- run: xvfb-run --auto-servernum npm test

.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
*.sw*
22
node_modules
3-
static/reporter.js
4-
.nyc_output/
5-
package-lock.json
3+
static/reporter.js

.npmrc

-1
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The easiest way of running code in a browser environment.
44

55
Bundles `electronjs` by default!
66

7-
[![build status](https://secure.travis-ci.org/juliangruber/browser-run.svg)](http://travis-ci.org/juliangruber/browser-run)
7+
[![CI](https://github.com/juliangruber/browser-run/actions/workflows/ci.yml/badge.svg)](https://github.com/juliangruber/browser-run/actions/workflows/ci.yml)
88
[![downloads](https://img.shields.io/npm/dm/browser-run.svg)](https://www.npmjs.org/package/browser-run)
99

1010
## Usage

0 commit comments

Comments
 (0)