Skip to content

Commit 53a1060

Browse files
committed
chore: Adjusting workflow of CI
1 parent b876444 commit 53a1060

File tree

2 files changed

+26
-36
lines changed

2 files changed

+26
-36
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
- name: Run E2E tests
8383
run: npm run test:e2e
8484
env:
85-
PUBLIC_SUPABASE_URL: ${{ secrets.PUBLIC_SUPABASE_URL }}
8685
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
8786
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
8887
E2E_USERNAME_ID: ${{ secrets.E2E_USERNAME_ID }}
@@ -98,3 +97,29 @@ jobs:
9897
path: playwright-report/
9998
retention-days: 7
10099

100+
build:
101+
name: Build Project
102+
runs-on: ubuntu-latest
103+
needs: [lint, test-unit, test-e2e]
104+
steps:
105+
- name: Checkout code
106+
uses: actions/checkout@v5
107+
108+
- name: Setup Node.js
109+
uses: actions/setup-node@v6
110+
with:
111+
node-version-file: ".nvmrc"
112+
cache: "npm"
113+
114+
- name: Install dependencies
115+
run: npm ci
116+
117+
- name: Build project
118+
run: npm run build
119+
120+
- name: Upload build artifacts
121+
uses: actions/upload-artifact@v4
122+
with:
123+
name: dist
124+
path: dist/
125+
retention-days: 7

0 commit comments

Comments
 (0)