Skip to content

Commit

Permalink
modernize (#160)
Browse files Browse the repository at this point in the history
* add gha, add package-lock, update tap->node-core-test

* docs
  • Loading branch information
juliangruber committed May 4, 2022
1 parent c4c42eb commit b54ff7b
Show file tree
Hide file tree
Showing 14 changed files with 10,873 additions and 62 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: sudo apt-get install xvfb
- run: xvfb-run --auto-servernum npm test
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
*.sw*
node_modules
static/reporter.js
.nyc_output/
package-lock.json
static/reporter.js
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The easiest way of running code in a browser environment.

Bundles `electronjs` by default!

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

## Usage
Expand Down

0 comments on commit b54ff7b

Please sign in to comment.