Skip to content

GRANT-395: multiple files #207

GRANT-395: multiple files

GRANT-395: multiple files #207

Workflow file for this run

name: FE PR Checks
env:
GIT_LOCAL_BRANCH: ${{ github.sha }}
on: [pull_request]
jobs:
fe-pr-checks:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v3
name: checkout
- name: Setup pre-reqs
run: |
npm install yarn -g && yarn set version ./.yarn/releases/yarn-3.3.0.cjs
shell: bash
- uses: actions/cache@v3
name: Cache yarn
with:
path: client/.yarn/cache
key: ${{ runner.os }}-fe-yarn-${{ hashFiles('client/yarn.lock') }}
restore-keys: ${{ runner.os }}-fe-yarn-${{ hashFiles('client/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --immutable
- name: Check format
run: |
yarn run format:check
- name: Check lint
run: |
yarn run lint
- name: Test build
run: |
yarn build