Skip to content

Commit

Permalink
adds github action for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Feb 1, 2022
1 parent b8cada7 commit ab8d2a5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node.js CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: npm ci
- run: npm test
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

0 comments on commit ab8d2a5

Please sign in to comment.