Skip to content

test: Headerコンポーネントのテストを追加 #5

test: Headerコンポーネントのテストを追加

test: Headerコンポーネントのテストを追加 #5

Workflow file for this run

# アクション名
name: CI
# タイミングを指定
on:
pull_request:
branches: ["main"]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yarn install
run: yarn install
- name: eslint review
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: "./**/*.{js,mjs,cjs,ts,jsx,tsx}"
- name: Run eslint
run: yarn lint
- name: Run Jest
run: yarn jest
- name: Upload test coverage artifact
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage
- name: Show coverage in comments
uses: MishaKav/jest-coverage-comment@main