Skip to content

Commit

Permalink
Configure github actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinto committed Nov 17, 2021
1 parent 30d528e commit f34b19e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/continuous_integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Update npm
run: npm i -g npm@7

- name: Install node modules
run: npm ci

- name: Run tests
run: npm test

0 comments on commit f34b19e

Please sign in to comment.