Skip to content

Add styles on controls (#112) #380

Add styles on controls (#112)

Add styles on controls (#112) #380

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on:
pull_request:
branches: [ "main" ]
push:
branches:
- main
jobs:
eslint:
defaults:
run:
working-directory: ./frontend
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint
run: |
npm install [email protected]
npm install @microsoft/[email protected]
npx eslint --version
npm list @microsoft/eslint-formatter-sarif
- name: Run ESLint
run: npx eslint .
--config .eslintrc.js
--ext .ts
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif || exit 0
continue-on-error: true
- name: Check ESLint Output
run: |
pwd
ls -la
- name: Verify ESLint output
run: |
ls -l eslint-results.sarif
cat eslint-results.sarif
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: frontend/eslint-results.sarif
wait-for-processing: true