Skip to content

Commit 97cd3d7

Browse files
committed
Use Actions
1 parent b6c6657 commit 97cd3d7

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: main
2+
on:
3+
- pull_request
4+
- push
5+
jobs:
6+
main:
7+
name: ${{matrix.node}}
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: dcodeIO/setup-node-nvm@master
12+
with:
13+
node-version: ${{matrix.node}}
14+
- run: npm install
15+
- run: npm test
16+
- uses: codecov/codecov-action@v1
17+
strategy:
18+
matrix:
19+
node:
20+
- lts/dubnium
21+
- node

.travis.yml

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

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ abide by its terms.
152152

153153
<!-- Definitions -->
154154

155-
[build-badge]: https://img.shields.io/travis/unifiedjs/unified-diff.svg
155+
[build-badge]: https://github.com/unifiedjs/unified-diff/workflows/main/badge.svg
156156

157-
[build]: https://travis-ci.org/unifiedjs/unified-diff
157+
[build]: https://github.com/unifiedjs/unified-diff/actions
158158

159159
[coverage-badge]: https://img.shields.io/codecov/c/github/unifiedjs/unified-diff.svg
160160

0 commit comments

Comments
 (0)