Skip to content

Merge changes into stable #288

Merge changes into stable

Merge changes into stable #288

Workflow file for this run

name: Lint CI
on:
push:
branches:
- master
- staging
pull_request:
types: [opened, synchronize, reopened]
jobs:
run-linters:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Set yarn version
run: yarn set version 1.22.17
- name: Install Node.js dependencies
run: yarn install --frozen-lockfile
- name: ESLint
run: yarn lint:eslint
- name: Prettier
run: yarn lint:eslint
- name: TSC
run: yarn lint:typescript
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: frontend