Skip to content

Commit

Permalink
Use GitHub Actions instead of Travis CI
Browse files Browse the repository at this point in the history
Travis CI is no longer providing CI minutes for open source projects: https://news.ycombinator.com/item?id=25338983

It's also been pretty slow: the build for slevithan#308
hasn't started in 13 minutes
  • Loading branch information
josephfrazier committed Dec 8, 2020
1 parent 760ab95 commit e884571
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,20 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- run: npm install
- run: npm test
- shell: bash
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: '[ -z "$SAUCE_USERNAME" ] || [ -z "$SAUCE_ACCESS_KEY" ] || npm run test-saucelabs'
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit e884571

Please sign in to comment.