Skip to content

Commit ca76f0f

Browse files
committed
Use Actions
1 parent e3258ed commit ca76f0f

File tree

3 files changed

+23
-17
lines changed

3 files changed

+23
-17
lines changed

.github/workflows/main.yml

+21
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

-15
This file was deleted.

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ abide by its terms.
101101

102102
<!-- Definition -->
103103

104-
[build-badge]: https://img.shields.io/travis/syntax-tree/hast-util-embedded.svg
104+
[build-badge]: https://github.com/syntax-tree/hast-util-embedded/workflows/main/badge.svg
105105

106-
[build]: https://travis-ci.org/syntax-tree/hast-util-embedded
106+
[build]: https://github.com/syntax-tree/hast-util-embedded/actions
107107

108108
[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-embedded.svg
109109

0 commit comments

Comments
 (0)