Skip to content

Commit d7e1a41

Browse files
committed
chore: client deploy
1 parent f1c3c61 commit d7e1a41

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/deploy-client.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,19 @@ jobs:
1212
build_and_deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
- run: npm ci && npm run build
15+
- uses: actions/checkout@v5
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v5
18+
with:
19+
node-version: 22
20+
cache: 'npm'
21+
cache-dependency-path: 'client/package-lock.json'
22+
- name: Install client dependencies
23+
run: cd client && npm ci
24+
- name: Build client
25+
run: cd client && npm run build
26+
- name: Copy build to public folder
27+
run: cp -r client/dist/* public/
1728
- uses: FirebaseExtended/action-hosting-deploy@v0
1829
with:
1930
repoToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)