Skip to content

Commit 4971543

Browse files
committed
Use Actions
1 parent 3face10 commit 4971543

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

Diff for: .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

Diff for: .travis.yml

-5
This file was deleted.

Diff for: readme.md

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

129129
<!-- Definitions -->
130130

131-
[build-badge]: https://img.shields.io/travis/syntax-tree/xast-util-from-xml.svg
131+
[build-badge]: https://github.com/syntax-tree/xast-util-from-xml/workflows/main/badge.svg
132132

133-
[build]: https://travis-ci.org/syntax-tree/xast-util-from-xml
133+
[build]: https://github.com/syntax-tree/xast-util-from-xml/actions
134134

135135
[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/xast-util-from-xml.svg
136136

0 commit comments

Comments
 (0)