Skip to content

Commit

Permalink
travis.ci -> github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
silentroach committed Sep 12, 2020
1 parent 4aa54e7 commit 5c69717
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,25 @@
name: Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 13.x, 14.x]

steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: install packages
run: npm i

- name: test
run: npm t
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# Twitter precompiled regular expressions

[![npm](https://img.shields.io/npm/v/twitter-regexps.svg)](https://www.npmjs.com/package/twitter-regexps)
[![Travis](https://img.shields.io/travis/silentroach/twitter-regexps.svg?label=travis)](https://travis-ci.org/silentroach/twitter-regexps)
[![Travis](https://img.shields.io/github/workflow/status/silentroach/twitter-regexps/Test.svg?label=build)](https://github.com/silentroach/twitter-regexps/actions)
[![install size](https://packagephobia.now.sh/badge?p=twitter-regexps)](https://packagephobia.now.sh/result?p=twitter-regexps)

Some regular expressions extracted from [twitter-text package](https://www.npmjs.com/package/twitter-text) and optimized with [regexp-tree](https://www.npmjs.com/package/regexp-tree).
Expand Down

0 comments on commit 5c69717

Please sign in to comment.