Skip to content

Commit

Permalink
ci: use github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 2, 2024
1 parent 5c10242 commit 4ce1aee
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 19 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/node-aught.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Tests: node.js < 10'

on: [pull_request, push]

permissions:
contents: read

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '< 10'
type: minors
command: npm run tests-only

node:
name: 'node < 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
21 changes: 21 additions & 0 deletions .github/workflows/node-tens.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Tests: node.js >= 10'

on: [pull_request, push]

permissions:
contents: read

jobs:
tests:
uses: ljharb/actions/.github/workflows/node.yml@main
with:
range: '>= 10'
type: minors
command: npm run tests-only

node:
name: 'node >= 10'
needs: [tests]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"tape": "^4.0.1"
},
"scripts": {
"test": "tape test/*.js"
"tests-only": "tape test/*.js",
"test": "npm run tests-only"
},
"repository": {
"type": "git",
Expand Down
2 changes: 0 additions & 2 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
parse a bundle generated by
[browser-pack](https://npmjs.org/package/browser-pack)

[![build status](https://secure.travis-ci.org/browserify/browser-unpack.png)](http://travis-ci.org/browserify/browser-unpack)

# example

```
Expand Down

0 comments on commit 4ce1aee

Please sign in to comment.