Skip to content

Merge pull request #4904 from wri/develop #2942

Merge pull request #4904 from wri/develop

Merge pull request #4904 from wri/develop #2942

Workflow file for this run

name: CI
on:
pull_request:
branches:
- develop
- master
push:
branches:
- master
- develop
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.15.0'
- name: Install modules
run: yarn
- name: Run ESLint
run: yarn lint
unit-tests:
if: ${{ !github.event.pull_request.draft }}
name: unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.15.0'
- name: Install modules
run: yarn
- name: Run Unit Tests
run: yarn test:ci