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
62 changes: 31 additions & 31 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: lint & build check
on:
pull_request:
branches:
- develop
- master
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: ESLint Check
run: npm run lint
- name: Build next
run: npm run build -- --profile
name: lint & build check

on:
pull_request:
branches:
- develop
- master

jobs:
build:
name: build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm

- name: Install dependencies
run: npm ci

- name: ESLint Check
run: npm run lint

- name: Build next
run: npm run build -- --profile
82 changes: 41 additions & 41 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
name: Deploy Preview to Vercel
on:
push:
branches:
- develop
jobs:
deploy:
name: deploy Preview
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Vercel CLI
run: npm install -g vercel@latest
- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"
- name: Vercel build (production)
run: vercel build --token "${VERCEL_TOKEN}"
- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --token "${VERCEL_TOKEN}"
name: Deploy Preview to Vercel

on:
push:
branches:
- develop

jobs:
deploy:
name: deploy Preview
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
with:
ref: develop
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm

- name: Install dependencies
run: npm ci

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"

- name: Vercel build (production)
run: vercel build --token "${VERCEL_TOKEN}"

- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --token "${VERCEL_TOKEN}"
118 changes: 59 additions & 59 deletions .github/workflows/release-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
name: Release and Deploy
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
release-phase:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Run Release Please
uses: googleapis/release-please-action@v4
id: release
with:
release-type: node
deploy-phase:
needs: release-phase
if: ${{ needs.release-phase.outputs.release_created }}
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Checkout release source
uses: actions/checkout@v4
with:
ref: ${{ needs.release-phase.outputs.tag_name }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Vercel CLI
run: npm install -g vercel@latest
- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"
- name: Vercel build (production)
run: vercel build --prod --token "${VERCEL_TOKEN}"
- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --prod --token "${VERCEL_TOKEN}"
name: Release and Deploy

on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

jobs:
release-phase:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- name: Run Release Please
uses: googleapis/release-please-action@v4
id: release
with:
release-type: node

deploy-phase:
needs: release-phase
if: ${{ needs.release-phase.outputs.release_created }}
runs-on: ubuntu-latest
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

steps:
- name: Checkout release source
uses: actions/checkout@v4
with:
ref: ${{ needs.release-phase.outputs.tag_name }}

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm

- name: Install dependencies
run: npm ci

- name: Install Vercel CLI
run: npm install -g vercel@latest

- name: Pull Vercel env (production)
run: vercel pull --yes --environment=production --token "${VERCEL_TOKEN}"

- name: Vercel build (production)
run: vercel build --prod --token "${VERCEL_TOKEN}"

- name: Deploy to Vercel (Production, prebuilt)
run: vercel deploy --prebuilt --prod --token "${VERCEL_TOKEN}"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint-front
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.md
*.md
14 changes: 14 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
{
"singleQuote": false,
"semi": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 80,

"tailwindFunctions": ["clsx", "cn", "cva"],

"plugins": [
"prettier-plugin-tailwindcss",
"prettier-plugin-classnames",
"prettier-plugin-merge"
],

"overrides": [
{
"files": "*.md",
Expand Down
72 changes: 36 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
Loading
Loading