Skip to content

Commit

Permalink
Replace Travis with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danbovey committed Feb 9, 2022
1 parent 69962b6 commit 6cdbfdb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
id: cache
uses: actions/cache@v2
with:
path: node_modules
key: cache-node-modules-${{ hashFiles('package-lock.json') }}
- name: npm install
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 6cdbfdb

Please sign in to comment.