Skip to content

Commit

Permalink
chore: migrate CI from Travis to GitHub Actions
Browse files Browse the repository at this point in the history
- Add GitHub Actions workflow file (ci.yml)
- Remove .travis.yml
  • Loading branch information
polygonplanet committed Jun 4, 2023
1 parent 9c4b33b commit 76c67f6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
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, pull_request]
permissions:
contents: read

jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 16, 18]
name: Test
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

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

- name: Install
run: npm ci

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

This file was deleted.

0 comments on commit 76c67f6

Please sign in to comment.