Skip to content

Commit

Permalink
build: drop travis, basic github ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Nov 20, 2020
1 parent 5e48a4b commit adef7db
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
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
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit adef7db

Please sign in to comment.