Skip to content

Commit

Permalink
Fix CI (#57)
Browse files Browse the repository at this point in the history
Introduces an alternate CI platform (aka Github Actions) since the demise of Travis's free tier.
  • Loading branch information
rjz committed Aug 1, 2023
1 parent 6ef381a commit 68170a6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on:
push:
pull_request:
branches: [$default-branch]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 8.x
- 10.x
- 11.x
- 20.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm i
- run: npm test
- run: npm run cover
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

Session wrapper around supertest.

[![Build
Status](https://travis-ci.org/rjz/supertest-session.svg?branch=master)](https://travis-ci.org/rjz/supertest-session)
[![Coverage
Status](https://coveralls.io/repos/rjz/supertest-session/badge.png)](https://coveralls.io/r/rjz/supertest-session)

Expand Down

0 comments on commit 68170a6

Please sign in to comment.