GRANT-395: multiple files #207
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |