Skip to content

Commit

Permalink
Merge pull request #296 from ChristianMurphy/replace-travis-with-gith…
Browse files Browse the repository at this point in the history
…ub-actions

replace travis ci with github actions
  • Loading branch information
ChristianMurphy authored Sep 16, 2022
2 parents e46000d + 5c3b842 commit facb96f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
name: '${{ matrix.platform }}: node.js ${{ matrix.node-version }}'
strategy:
matrix:
platform: [ubuntu-latest, windows-2019, macos-latest]
node-version: [14]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Bootstrap
run: npm run bootstrap
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npx lerna run build
- name: Check Commit Message
run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit facb96f

Please sign in to comment.