Skip to content

Fix/any

Fix/any #206

Workflow file for this run

name: ci
on:
push:
branches: 'develop'
pull_request:
branches: ['main', 'develop']
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
steps:
- name: Checkout code #コードを持ってくる
uses: actions/checkout@v3
- name: Install ESLint #ESlintをインストールする
run: |
npm install [email protected]
npm install @microsoft/[email protected]
- name: Build #build test
run: npm run build
- name: Run ESLint #ESLintを実行する
run: npx eslint ./src --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
- name: Upload analysis results to GitHub #githubに解析結果をアップロード
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
rome:
name: Run rome scanning
runs-on: ubuntu-latest
steps:
- name: Checkout code #コードを持ってくる
uses: actions/checkout@v3
- name: Install Rome #romeをインストールする
run: |
npm install [email protected]\
- name: Build #build test
run: npm run build
- name: Run Rome #romeを実行
run: npx rome check ./src