Skip to content

Commit

Permalink
Merge pull request #124 from nkc-ug/feature/buildTest
Browse files Browse the repository at this point in the history
feat: ciにビルドの確認を追加
  • Loading branch information
Yuma-Satake authored Sep 1, 2023
2 parents a9ad453 + 3cda9d4 commit 0702a10
Showing 1 changed file with 8 additions and 2 deletions.
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

0 comments on commit 0702a10

Please sign in to comment.