Skip to content

Commit

Permalink
github actions node
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Jun 24, 2021
1 parent e06186b commit 7225198
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,26 @@
name: CI
on:
push:
pull_request:

jobs:
npm-test:
runs-on: ubuntu-16.04
strategy:
matrix:
node: [ '14' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- run: npm install coveralls
- run: npm run coverage > lcov.info
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit 7225198

Please sign in to comment.