Skip to content

Commit

Permalink
Merge pull request #8 from linusnorton/patch-1
Browse files Browse the repository at this point in the history
Add github action to test
  • Loading branch information
yocontra authored Dec 5, 2023
2 parents d19f3d3 + cfcf0f8 commit 6a98258
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
pull_request:
branches:
- master

jobs:
test:
strategy:
matrix:
version: [14, 16, 18, 20]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: npm
- run: npm ci
- run: npm run build
- run: npm run lint
- run: npm test
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 6a98258

Please sign in to comment.