Skip to content

Commit

Permalink
Merge 039ba08 into d371f20
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal committed May 7, 2021
2 parents d371f20 + 039ba08 commit 9f7b7c6
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 45 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches: ['master', 'main']
pull_request:
branches: ['master', 'main']

jobs:
build:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'

- uses: actions/setup-node@v1
with:
node-version: 14

- run: npm install

- run: npm install -g grunt-cli
- run: grunt

- run: cp ./coverage/*/lcov.info ./coverage/

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# autolink-js - JS link formatting library

[![Build Status](https://travis-ci.org/iamcal/autolink-js.svg)](https://travis-ci.org/iamcal/autolink-js)
<span class="badge-npmversion"><a href="https://npmjs.org/package/@iamcal/autolink-js" title="View this project on NPM"><img src="https://img.shields.io/npm/v/@iamcal/autolink-js.svg" alt="NPM version" /></a></span>
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/@iamcal/autolink-js" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/@iamcal/autolink-js.svg" alt="NPM downloads" /></a></span>
[![Build Status](https://github.com/iamcal/autolink-js/actions/workflows/build.yml/badge.svg)](https://github.com/iamcal/autolink-js/actions)
[![Coverage Status](https://coveralls.io/repos/iamcal/autolink-js/badge.svg)](https://coveralls.io/r/iamcal/autolink-js)

This library helps to detect URLs (and email addresses) in text, and turn them into links.
Expand All @@ -9,7 +11,7 @@ It is based on the original PHP version here: https://github.com/iamcal/lib_auto

## Installation

Either clone the git repo, or `npm install autolink-js`
Either clone the git repo, or `npm install @iamcal/autolink-js`


## Usage
Expand Down
30 changes: 0 additions & 30 deletions bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "autolink-js",
"name": "@iamcal/autolink-js",
"version": "0.1.0",
"description": "JS link formatting library",
"main": "lib/autolink.js",
Expand Down

0 comments on commit 9f7b7c6

Please sign in to comment.