Skip to content

Migrate CI from Travis to Github Actions
Lint & Test #17 Lint & Test #17

name: Lint & Test
on:
pull_request:
types: [opened, edited, synchronize, reopened, ready_for_review]
branches:
- master
- develop
jobs:
lint-and-test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '10'
- name: Install Dependencies
run: |
yarn install --frozen-lockfile
- name: Build Licenses
run: |
node ./tools/licenses/fetchLicenses.js
- name: Lint
run: |
yarn lint
- name: Test
run: |
yarn test