Skip to content

Commit

Permalink
Merge pull request #59 from flickr/github-actions
Browse files Browse the repository at this point in the history
Replace travis with GitHub Actions
  • Loading branch information
jeremyruppel authored Dec 13, 2021
2 parents 3a239e1 + e2a7fb2 commit f4a37b0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ set -ex

npm run lint
npm run test

node package.json

0 comments on commit f4a37b0

Please sign in to comment.