Skip to content

Fix Deployment

Fix Deployment #1304

Workflow file for this run

name: client
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2.4.0
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v2
with:
path: client/node_modules
key: ${{ runner.os }}-cache
- name: Install dependencies
working-directory: ./frontend
run: yarn
- name: Check formatting
working-directory: ./frontend
run: yarn format:check
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2.4.0
with:
node-version: 12
- name: Cache dependencies
uses: actions/cache@v2
with:
path: client/node_modules
key: ${{ runner.os }}-cache
- name: Install dependencies
working-directory: ./frontend
run: yarn
- name: Install root dependencies
working-directory: ./
run: yarn
- name: Run linter
working-directory: ./frontend
run: yarn lint