Skip to content

Commit

Permalink
Replace Travis with GitHub Actions (#4)
Browse files Browse the repository at this point in the history
* Replace Travis with GitHub Actions

* Refine workflow triggers

* Remove Coveralls dependency and script

* Enable dependency caching

* Disable caching since it conflicts with multiple Node versions
  • Loading branch information
nwalters512 authored Nov 14, 2024
1 parent 3749756 commit 16ef10c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 550 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js CI

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ['18.x', '20.x', '22.x']

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run build:types
- run: npm run test
- run: npm run test:typescript
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 16ef10c

Please sign in to comment.