Skip to content

Commit

Permalink
Fix #93 - Move away from Travis CI and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Sep 14, 2021
1 parent 9e309ea commit fbe8375
Show file tree
Hide file tree
Showing 11 changed files with 3,656 additions and 246 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run coverage --if-present
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
@@ -1 +1,2 @@
package-lock=false
package-lock=true
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit fbe8375

Please sign in to comment.