Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": ["next/core-web-vitals", "prettier"],
"rules": {
// 페이지의 <img>는 모두 API가 동적으로 만드는 SVG 카드라 next/image 최적화 대상이 아님
"@next/next/no-img-element": "off"
}
}
15 changes: 9 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run lint
run: npm run lint

- name: Run tests
run: npm test

Expand All @@ -36,11 +39,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Deploy to Vercel (Production)
id: deploy
uses: amondnet/vercel-action@v20
uses: amondnet/vercel-action@v42
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
Expand Down Expand Up @@ -79,11 +82,11 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Deploy to Vercel (Preview)
id: deploy
uses: amondnet/vercel-action@v20
uses: amondnet/vercel-action@v42
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
Expand Down
28 changes: 0 additions & 28 deletions eslint.config.mjs

This file was deleted.

3 changes: 0 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ module.exports = {
tsconfig: 'tsconfig.json',
}],
},
transformIgnorePatterns: [
'/node_modules/(?!node-fetch).+\\.js$'
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};
Loading
Loading