Use Actions
This commit is contained in:
parent
749b4019af
commit
6b7b6464f3
3 changed files with 23 additions and 7 deletions
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: main
|
||||||
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
name: '${{ matrix.node }}'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: dcodeIO/setup-node-nvm@master
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node }}
|
||||||
|
- run: npm install
|
||||||
|
- run: npm test
|
||||||
|
- uses: codecov/codecov-action@v1
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node:
|
||||||
|
- lts/dubnium
|
||||||
|
- node
|
|
@ -1,5 +0,0 @@
|
||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- lts/dubnium
|
|
||||||
- node
|
|
||||||
after_script: bash <(curl -s https://codecov.io/bash)
|
|
|
@ -224,9 +224,9 @@ abide by its terms.
|
||||||
|
|
||||||
<!-- Definitions -->
|
<!-- Definitions -->
|
||||||
|
|
||||||
[build-badge]: https://img.shields.io/travis/micromark/micromark-extension-directive.svg
|
[build-badge]: https://github.com/micromark/micromark-extension-directive/workflows/main/badge.svg
|
||||||
|
|
||||||
[build]: https://travis-ci.org/micromark/micromark-extension-directive
|
[build]: https://github.com/micromark/micromark-extension-directive/actions
|
||||||
|
|
||||||
[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark-extension-directive.svg
|
[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark-extension-directive.svg
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue