-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: drop travis, basic github ci workflow
- Loading branch information
1 parent
5e48a4b
commit adef7db
Showing
2 changed files
with
25 additions
and
19 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,25 @@ | ||
name: ci | ||
|
||
# Author: @MikeRalphson | ||
# Issue : n/a | ||
# Desc : This workflow runs a simple lint and test for a node.js project | ||
|
||
# run this on push to any branch and creation of pull-requests | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 # checkout repo content | ||
- uses: actions/setup-node@v1 # setup Node.js | ||
with: | ||
node-version: '14.x' | ||
- name: Install deps | ||
run: npm i | ||
- name: Lerna bootstrap | ||
run: npx lerna bootstrap --no-ci | ||
- name: Run lint | ||
run: npm run lint | ||
- name: Run tests | ||
run: npm run test |
This file was deleted.
Oops, something went wrong.