Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Commit

Permalink
Switch from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ianobermiller committed Nov 16, 2020
1 parent b3a8ae2 commit 94fe25d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,30 @@
name: Build and Test

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Cache node_modules directory
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build production distribution
run: yarn build

- name: Run tests
run: yarn test
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit 94fe25d

Please sign in to comment.