Skip to content

Commit 56d8bb3

Browse files
authored
Merge pull request #20 from Aswajith7077/feat/vercel-deployment
Fix: actions redefined
2 parents bfbd437 + 1d23fb8 commit 56d8bb3

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

.github/workflows/app-frontend-deploy.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,24 @@ jobs:
1212
- name: Checkout Repo
1313
uses: actions/checkout@v4
1414

15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22'
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: '10.4.1'
24+
1525
- name: Install Vercel CLI
1626
run: npm install -g vercel
1727

1828
- name: Install Dependencies & Build
1929
working-directory: frontend
2030
run: |
21-
npm install --legacy-peer-deps
22-
npm run build
31+
pnpm install
32+
pnpm run build
2333
2434
- name: Deploy to Vercel
25-
working-directory: frontend
26-
run: vercel --prod --token=${{ secrets.ZEVRIN_VERCEL_TOKEN }} --confirm
35+
run: vercel --prod --token=${{ secrets.ZEVRIN_VERCEL_TOKEN }} --confirm

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.env
2+
minio/
3+
pnpm-lock.yaml
4+
.vercel

frontend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ dist-ssr
2727
*.njsproj
2828
*.sln
2929
*.sw?
30+
.vercel

frontend/.vercel/project.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)