Skip to content

Commit

Permalink
build: setup GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Aug 28, 2024
1 parent 1c2ffd2 commit aed2283
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 1,198 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
- push
- pull_request

jobs:

test:
strategy:
matrix:
include:
- node: 10.x
- node: 12.x
- node: 14.x
- node: 16.x
- node: 18.x
- node: 20.x

name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- run: npm install

- run: npm test
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
coverage
/.DS_Store
/node_modules
/coverage
/package-lock.json
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit aed2283

Please sign in to comment.