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 7, 2023
1 parent b963656 commit 8c4612e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 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: [12, 13, 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
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit 8c4612e

Please sign in to comment.