Skip to content

Commit

Permalink
refactor(bundler): replace nwb with standard, jest, and rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhudson committed Mar 23, 2023
1 parent 56e1707 commit 90174e4
Show file tree
Hide file tree
Showing 20 changed files with 19,080 additions and 11,845 deletions.
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node.js CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10
18
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

45 changes: 0 additions & 45 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
> [Full API Documentation →](https://thematthewhudson.com/pxon/)
[![Build Status](https://travis-ci.org/matthewhudson/pxon.svg?branch=master)](https://travis-ci.org/matthewhudson/pxon)
[![Coverage Status](https://coveralls.io/repos/github/matthewhudson/pxon/badge.svg?branch=master)](https://coveralls.io/github/matthewhudson/pxon?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/matthewhudson/pxon/badge.svg?branch=main)](https://coveralls.io/github/matthewhudson/pxon?branch=main)
[![NPM version](https://badge.fury.io/js/pxon.svg)](http://badge.fury.io/js/pxon)

## Installation
Expand Down
Loading

0 comments on commit 90174e4

Please sign in to comment.