Skip to content

Commit

Permalink
Use Github Actions instead of Travis CI
Browse files Browse the repository at this point in the history
PR-URL: #247
  • Loading branch information
tshemsedinov committed Mar 2, 2021
1 parent 2733dad commit 8b7b46c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Testing CI

on: pull_request

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
node:
- 12
- 14
- 15
os:
- ubuntu-latest
- windows-latest
- macos-latest

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

This file was deleted.

0 comments on commit 8b7b46c

Please sign in to comment.