Skip to content

Commit

Permalink
chore: Replace Travis-CI with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Aug 26, 2021
1 parent 8253c24 commit d35f1db
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 13 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Main CI Workflow

on:
pull_request:
push:

jobs:
build-and-publish:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node:
- 12
- 14
- 16

os:
- ubuntu-latest
- windows-latest
- macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}

- name: Install prerequisites
run: npm install

- name: Lint
run: npm run lint

- name: Test
run: npm run test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit d35f1db

Please sign in to comment.