We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c3c61 commit d7e1a41Copy full SHA for d7e1a41
.github/workflows/deploy-client.yml
@@ -12,8 +12,19 @@ jobs:
12
build_and_deploy:
13
runs-on: ubuntu-latest
14
steps:
15
- - uses: actions/checkout@v4
16
- - run: npm ci && npm run build
+ - uses: actions/checkout@v5
+ - 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/
28
- uses: FirebaseExtended/action-hosting-deploy@v0
29
with:
30
repoToken: ${{ secrets.GITHUB_TOKEN }}
0 commit comments