Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci-legacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: LEGACY

on: push

jobs:
test:
name: Test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["0.8", "0.10", "0.12", "4", "6", "8"]
os: [ubuntu-16.04]

steps:
- uses: actions/checkout@v2

- name: Setup node ${{ matrix.node }}
uses: dcodeIO/setup-node-nvm@master
with:
node-version: ${{ matrix.node }}

- name: Disabling Strict SSL
run: npm conf set strict-ssl false

- name: Installing Dependencies
run: npm install

- name: Running Tests
run: npm test
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: push

jobs:
test:
name: Test on Node ${{ matrix.node }} and ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["10.x", "12.x", "14.x"]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Installing Dependencies
run: npm install

- name: Running Tests
run: npm test
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: RELEASE

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

jobs:
test:
name: Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 14.x
registry-url: https://registry.npmjs.org

- name: Installing Dependencies
run: npm install

- name: Running Tests
run: npm test

- name: Publishing to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npm publish
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.travis.yml
History.md
test
.github
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

34 changes: 1 addition & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,16 @@
},
"devDependencies": {
"test": "~0.x.0",
"phantomify": "~0.x.0",
"retape": "~0.x.0",
"tape": "~0.1.5"
},
"engines": {
"node": ">=0.4.x"
},
"scripts": {
"test": "npm run test-node && npm run test-browser && npm run test-tap",
"test-browser": "node ./node_modules/phantomify/bin/cmd.js ./test/common-index.js",
"test": "npm run test-node && npm run test-tap",
"test-node": "node ./test/common-index.js",
"test-tap": "node ./test/tap-index.js"
},
"testling": {
"files": "test/tap-index.js",
"browsers": {
"iexplore": [
9,
10
],
"chrome": [
16,
20,
25,
"canary"
],
"firefox": [
10,
15,
16,
17,
18,
"nightly"
],
"safari": [
5,
6
],
"opera": [
12
]
}
},
"license": "MIT"
}