Skip to content

Commit 4ce1aee

Browse files
committed
ci: use github actions
1 parent 5c10242 commit 4ce1aee

File tree

5 files changed

+44
-19
lines changed

5 files changed

+44
-19
lines changed

.github/workflows/node-aught.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Tests: node.js < 10'
2+
3+
on: [pull_request, push]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
tests:
10+
uses: ljharb/actions/.github/workflows/node.yml@main
11+
with:
12+
range: '< 10'
13+
type: minors
14+
command: npm run tests-only
15+
16+
node:
17+
name: 'node < 10'
18+
needs: [tests]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- run: 'echo tests completed'

.github/workflows/node-tens.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Tests: node.js >= 10'
2+
3+
on: [pull_request, push]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
tests:
10+
uses: ljharb/actions/.github/workflows/node.yml@main
11+
with:
12+
range: '>= 10'
13+
type: minors
14+
command: npm run tests-only
15+
16+
node:
17+
name: 'node >= 10'
18+
needs: [tests]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- run: 'echo tests completed'

.travis.yml

-16
This file was deleted.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"tape": "^4.0.1"
1717
},
1818
"scripts": {
19-
"test": "tape test/*.js"
19+
"tests-only": "tape test/*.js",
20+
"test": "npm run tests-only"
2021
},
2122
"repository": {
2223
"type": "git",

readme.markdown

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
parse a bundle generated by
44
[browser-pack](https://npmjs.org/package/browser-pack)
55

6-
[![build status](https://secure.travis-ci.org/browserify/browser-unpack.png)](http://travis-ci.org/browserify/browser-unpack)
7-
86
# example
97

108
```

0 commit comments

Comments
 (0)