Skip to content

Commit

Permalink
build: Switch to Github Actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Aug 13, 2022
1 parent 4b71777 commit 5382239
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ indent_size = 2
indent_style = space
indent_size = 2

[.eslintrc]
[*.yml]
indent_style = space
indent_size = 2
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node: [ 14.x, 16.x, 18.x ]

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

This file was deleted.

0 comments on commit 5382239

Please sign in to comment.