Skip to content

Commit

Permalink
Move to GitHub Actions (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richienb authored Jan 2, 2021
1 parent bfe8eb8 commit 4c0cd9a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 10
- 8
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
5 changes: 0 additions & 5 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,4 +1,4 @@
# read-pkg [![Build Status](https://travis-ci.org/sindresorhus/read-pkg.svg?branch=master)](https://travis-ci.org/sindresorhus/read-pkg)
# read-pkg

> Read a package.json file
Expand Down

0 comments on commit 4c0cd9a

Please sign in to comment.