Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ciにビルドの確認を追加 #124

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ci

on:
push:
branches: ['main', 'develop']
branches: 'develop'
pull_request:
branches: ['main', 'develop']

Expand All @@ -19,6 +19,9 @@ jobs:
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
Expand All @@ -39,7 +42,10 @@ jobs:

- name: Install Rome #romeをインストールする
run: |
npm install [email protected]
npm install [email protected]\
- name: Build #build test
run: npm run build

- name: Run Rome #romeを実行
run: npx rome check ./src
Loading