Skip to content

Implement a subset of the Common Workflow Language #5027

Implement a subset of the Common Workflow Language

Implement a subset of the Common Workflow Language #5027

Workflow file for this run

name: Client linting
on:
push:
paths:
- 'client/**'
- '.github/workflows/js_lint.yaml'
pull_request:
paths:
- 'client/**'
- '.github/workflows/js_lint.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
client-unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node}}
cache: 'yarn'
cache-dependency-path: 'client/yarn.lock'
- run: yarn install --frozen-lockfile
working-directory: client
- name: Run ESLint
run: yarn run eslint
working-directory: client
- name: Run prettier checks
run: yarn run format-check
working-directory: client