-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from ChristianMurphy/replace-travis-with-gith…
…ub-actions replace travis ci with github actions
- Loading branch information
Showing
2 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.