Skip to content

Commit

Permalink
build: add github workflow and remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Nov 10, 2021
1 parent 1a21679 commit 1a19c6e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
integration:
runs-on: ubuntu-latest

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

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Checkout project
uses: actions/checkout@v2

- name: Install dependencies
run: |
npm ci
- name: Tests
run: |
npm run test:ci
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github
example
example-esm
test
Expand Down
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit 1a19c6e

Please sign in to comment.