Skip to content

Commit

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

* Replace Travis CI with GitHub Actions

* try ts fix
  • Loading branch information
DABH authored Feb 5, 2022
1 parent 80547d6 commit 7e5cffc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 17 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
pull_request:
branches:
- main
- master
push:
branches:
- main
- master

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 12
- 14
- 16
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm clean-install
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: TypeScript Test
run: npx --package typescript tsc
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit 7e5cffc

Please sign in to comment.