Skip to content

Commit

Permalink
chore: migrate from Travis to GitHub Actions (#15)
Browse files Browse the repository at this point in the history
* added github file and deleted travis file
* added coveralls
* trigger rebuild
* I did not have env var set correctly locally
* readme update
* readme
* minor cleanup

Co-authored-by: nexdrew <andrewbgoode@gmail.com>
  • Loading branch information
lulubun and nexdrew committed Jan 12, 2021
1 parent 0e016e0 commit 62618f9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- run: npm run coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Library to easily consume customizable display strings
[![Build Status](https://travis-ci.org/SalesVista/strings.svg?branch=master)](https://travis-ci.org/SalesVista/strings)
[![CI Status](https://github.com/SalesVista/strings/workflows/CI/badge.svg?branch=master)](https://github.com/SalesVista/strings/actions)
[![Coverage Status](https://coveralls.io/repos/github/SalesVista/strings/badge.svg?branch=master)](https://coveralls.io/github/SalesVista/strings?branch=master)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
Expand Down

0 comments on commit 62618f9

Please sign in to comment.