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

ci #5

Merged
merged 3 commits into from
Aug 28, 2024
Merged

ci #5

Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Continuous Integration

on:
push:

jobs:
eslint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install packages
run: npm install

- name: Run lint
run: npm run lint
8 changes: 4 additions & 4 deletions frontend/src/pages/company-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export default function CompanyList() {

// テストデータの作成
const companyData = [
{ id: 1, name: '株式会社一番' },
{ id: 2, name: '株式会社二番' },
{ id: 3, name: '株式会社三番' },
{ id: 4, name: '株式会社四番' },
{ id: 1, name: '株式会社1番' },
{ id: 2, name: '株式会社2番' },
{ id: 3, name: '株式会社3番' },
{ id: 4, name: '株式会社4番' },
]

// ページ遷移を処理する関数
Expand Down