Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI Testing

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

jobs:
test-unit:
name: "CI Unit Testing"
timeout-minutes: 5
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
node:
- "14"
- "12"

steps:
- name: Checkout
uses: actions/[email protected]

- name: Setup Node.js version ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Unit Test
run: yarn run test:unit
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

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

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]

- name: Setup Node.js
uses: actions/[email protected]
with:
cache: "yarn"

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Lint code
run: yarn run lint

- name: Check Lock File Changes
run: yarn && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.