Skip to content

Commit

Permalink
ci: migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Feb 18, 2021
1 parent 989247b commit b37fc0f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
@@ -0,0 +1,28 @@
name: Tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm test
env:
CI: true
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit b37fc0f

Please sign in to comment.