Skip to content

Commit

Permalink
ci: add GitHub Actions
Browse files Browse the repository at this point in the history
- replace Travis
  • Loading branch information
curbengh committed Jul 24, 2020
1 parent 7d22b3b commit f226c57
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tester

on: [push, pull_request]

jobs:
tester:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['10.x', '12.x', '14.x']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
restore-keys: ${{ runner.os }}-npm-cache
- name: Install Dependencies
run: npm install
- name: Test
run: npm run test
env:
CI: true
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit f226c57

Please sign in to comment.