Skip to content

[DOP-22621] fix some bugs (#54) #110

[DOP-22621] fix some bugs (#54)

[DOP-22621] fix some bugs (#54) #110

Workflow file for this run

name: Code analysis
on:
push:
branches:
- develop
pull_request:
branches-ignore:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn install --frozen-lockfile
- name: Cache modules
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
${{ runner.os }}-yarn-
- name: Run Type check
run: yarn type-check
- name: Run ESLint
run: yarn lint
- name: Run Prettier
run: yarn prettier --check
- name: Build project
run: yarn build