Skip to content
Snippets Groups Projects
Commit 152afd22 authored by Jack Reed's avatar Jack Reed Committed by Chris Beer
Browse files

Use GitHub actions for CI

parent fb5cce47
No related branches found
No related tags found
No related merge requests found
# This workflow will do a clean install of node dependencies, 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: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install -g codecov
- run: npm install
- run: npm test
- run: codecov
language: node_js
node_js:
- 'lts/*'
install:
- npm install -g codecov
before_script:
- npm install
script:
- npm test
- codecov
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment