Skip to content

Commit

Permalink
Replaced Travis CI with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsphillips committed Jul 3, 2021
1 parent 861735f commit d8c07f3
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 7 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Test

on:
push:
paths-ignore:
- '**.md'
pull_request:
branches:
- master
paths-ignore:
- '**.md'

jobs:

build-and-test:

name: Build and Test

steps:

- name: Checkout
uses: actions/[email protected]

- name: Install NodeJS
uses: actions/[email protected]
with:
node-version: '16'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

- name: Build
run: npm run build

runs-on: ubuntu-latest
6 changes: 0 additions & 6 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
@@ -1,7 +1,7 @@
# WaitForTheElement

[![Available from NPM](https://img.shields.io/npm/v/wait-for-the-element.svg?maxAge=900)](https://www.npmjs.com/package/wait-for-the-element)
[![Built using Travis](https://img.shields.io/travis/com/lsphillips/WaitForTheElement/master.svg?maxAge=900)](https://travis-ci.com/lsphillips/WaitForTheElement)
[![Built using GitHub Action](https://github.com/lsphillips/WaitForTheElement/actions/workflows/build-and-test.yml/badge.svg?branch=master)](https://github.com/lsphillips/WaitForTheElement/actions)

A utility library that enables you to efficiently wait for an element to appear or disappear.

Expand Down

0 comments on commit d8c07f3

Please sign in to comment.