CSM alerts #2200
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: Checks and Linters | |
on: | |
pull_request: | |
jobs: | |
security: | |
uses: lidofinance/linters/.github/workflows/security.yml@master | |
permissions: | |
security-events: write | |
contents: read | |
docker: | |
uses: lidofinance/linters/.github/workflows/docker.yml@master | |
formatting: | |
name: Check code formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Setup prettier | |
run: npm install prettier@^3.2.5 | |
- name: Setup prettier import plugin | |
run: npm install prettier-plugin-organize-imports@^4.0.0 | |
- name: Check formatting with prettier | |
run: npx prettier --check . |