Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
chore: add github action to test node tests (#123)
Browse files Browse the repository at this point in the history
* chore: add github action to test node tests

* chore: add node 10 to the matrix
  • Loading branch information
lholmquist committed Oct 7, 2020
1 parent d218a87 commit 4432edf
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,30 @@
# 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

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Install Dependecies
- run: npm ci
# Run the linter and tests and coverage
- run: npm run ci

0 comments on commit 4432edf

Please sign in to comment.