Skip to content

Commit 3c0c821

Browse files
committed
Use Actions
1 parent cccfc3b commit 3c0c821

File tree

3 files changed

+33
-27
lines changed

3 files changed

+33
-27
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 & 15 deletions
This file was deleted.

readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ sectioning({
5050

5151
Check if the given value is a [*sectioning*][spec] [*element*][element].
5252

53-
## Contribute
54-
55-
See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
56-
started.
57-
See [`support.md`][support] for ways to get help.
58-
59-
This project has a [code of conduct][coc].
60-
By interacting with this repository, organization, or community you agree to
61-
abide by its terms.
62-
6353
## Related
6454

6555
* [`hast-util-is-element`](https://github.com/syntax-tree/hast-util-is-element)
@@ -93,6 +83,16 @@ abide by its terms.
9383
* [`hast-util-whitespace`](https://github.com/syntax-tree/hast-util-whitespace)
9484
— check if a node is inter-element whitespace
9585

86+
## Contribute
87+
88+
See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
89+
started.
90+
See [`support.md`][support] for ways to get help.
91+
92+
This project has a [code of conduct][coc].
93+
By interacting with this repository, organization, or community you agree to
94+
abide by its terms.
95+
9696
## Security
9797

9898
`hast-util-sectioning` does not change the syntax tree so there are no openings
@@ -104,9 +104,9 @@ for [cross-site scripting (XSS)][xss] attacks.
104104

105105
<!-- Definition -->
106106

107-
[build-badge]: https://img.shields.io/travis/syntax-tree/hast-util-sectioning.svg
107+
[build-badge]: https://github.com/syntax-tree/hast-util-sectioning/workflows/main/badge.svg
108108

109-
[build]: https://travis-ci.org/syntax-tree/hast-util-sectioning
109+
[build]: https://github.com/syntax-tree/hast-util-sectioning/actions
110110

111111
[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-sectioning.svg
112112

0 commit comments

Comments
 (0)