Skip to content

Commit 17697af

Browse files
committed
Switched from Travis CI to GitHub Actions
1 parent 4e8f162 commit 17697af

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

.github/workflows/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: tests
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
node-version: [14, 15]
11+
os: [ubuntu-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- name: npm install, build, and test
20+
run: |
21+
npm install
22+
npm run ci
23+
env:
24+
CI: true
25+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# broken-link-checker [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Monitor][greenkeeper-image]][greenkeeper-url]
1+
# broken-link-checker [![NPM Version][npm-image]][npm-url] ![Build Status][ci-image] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Monitor][greenkeeper-image]][greenkeeper-url]
22

33
> Find broken links, missing images, etc within your HTML.
44
@@ -449,8 +449,7 @@ Finally, **it is important** to analyze links excluded with the `BLC_UNSUPPORTED
449449

450450
[npm-image]: https://img.shields.io/npm/v/broken-link-checker.svg
451451
[npm-url]: https://npmjs.org/package/broken-link-checker
452-
[travis-image]: https://img.shields.io/travis/stevenvachon/broken-link-checker.svg
453-
[travis-url]: https://travis-ci.org/stevenvachon/broken-link-checker
452+
[ci-image]: https://img.shields.io/github/workflow/status/stevenvachon/broken-link-checker/tests
454453
[coveralls-image]: https://img.shields.io/coveralls/stevenvachon/broken-link-checker.svg
455454
[coveralls-url]: https://coveralls.io/github/stevenvachon/broken-link-checker
456455
[greenkeeper-image]: https://badges.greenkeeper.io/stevenvachon/broken-link-checker.svg

0 commit comments

Comments
 (0)