Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #13 from voorhoede/feat/github-actions
Browse files Browse the repository at this point in the history
feat(actions): add first action to run tests
  • Loading branch information
celinekurpershoek authored Jan 16, 2020
2 parents c97b77b + 96c98a7 commit fb32bd4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Node CI

on:
push:
branches:
- master
- greenkeeper/*
pull_request:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 13.x]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Run tests
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
node --version
npm --version
npm ci
npm test

0 comments on commit fb32bd4

Please sign in to comment.