Skip to content

Commit

Permalink
Use Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 24, 2021
1 parent af59f34 commit 696afb9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 13 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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/erbium
- node
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# github-slugger

[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
[![Build][build-badge]][build]

[npm-image]: https://img.shields.io/npm/v/github-slugger.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/github-slugger
[travis-image]: https://img.shields.io/travis/Flet/github-slugger.svg?style=flat-square
[travis-url]: https://travis-ci.org/Flet/github-slugger
[build-badge]: https://github.com/Flet/github-slugger/workflows/main/badge.svg
[build]: https://github.com/Flet/github-slugger/actions

Generate a slug just like GitHub does for markdown headings. It also ensures slugs are unique in the same way GitHub does it. The overall goal of this package is to emulate the way GitHub handles generating markdown heading anchors as close as possible.

Expand Down

0 comments on commit 696afb9

Please sign in to comment.