Skip to content

Commit

Permalink
ci: Migrate from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmoreorless committed Sep 11, 2022
1 parent 0b81aa7 commit c43cc0c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 10 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI tests

on:
push:
pull_request:

jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
# Use the latest version of Node.js, plus the 2 most recent LTS lines
node-version:
- latest
- lts/*
- lts/-1

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

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit c43cc0c

Please sign in to comment.