Skip to content

Commit

Permalink
Replace Travis with GitHub Actions (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored Sep 5, 2021
1 parent cc1789d commit 9b4e29e
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: /
schedule:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci
on:
push:
pull_request:
jobs:
test:
name: ${{ matrix.node-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node-version: [10, 12, 14, 16]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm i
- name: Tests
run: npm run test
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![npm status](http://img.shields.io/npm/v/airtap.svg)](https://www.npmjs.org/package/airtap)
[![node](https://img.shields.io/node/v/airtap.svg)](https://www.npmjs.org/package/airtap)
[![Build Status](https://travis-ci.org/airtap/airtap.svg?branch=master)](https://travis-ci.org/airtap/airtap)
[![Build Status](https://github.com/airtap/airtap/workflows/ci/badge.svg)](https://github.com/airtap/airtap/actions)

## Table of Contents

Expand Down
2 changes: 1 addition & 1 deletion test/unit/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ test('cli errors if provider does not exist', function (t) {

test('cli warns if sauce labs credentials are provided in root config', function (t) {
const cwd = tempy.directory()
const expected = read('deprecated-creds.txt')
const expected = read('deprecated-creds.txt').trim()

writeConfig(cwd, {
username: 'test',
Expand Down

0 comments on commit 9b4e29e

Please sign in to comment.