Skip to content

Commit

Permalink
Migrate to GitHub Actions (#1601)
Browse files Browse the repository at this point in the history
* Trying out Github actions

* Add Yarn Cache

* Update node-ci.yml

* tweak yarn caching

* Update node-ci.yml

* Update node-ci.yml

* Delete .travis.yml
  • Loading branch information
darthtrevino authored Nov 14, 2019
1 parent ae95816 commit d338111
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Cache
uses: actions/cache@v1.0.0
with:
path: .yarn-cache
key: ${{ runner.os }}-${{ matrix.node-version }}-yarn-cache

- run: yarn install --cache-folder ./.yarn-cache
- run: yarn test
env:
CI: true

18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit d338111

Please sign in to comment.