We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3330c72 commit e2bb23cCopy full SHA for e2bb23c
1 file changed
.github/workflows/deploy.yml
@@ -20,19 +20,20 @@ jobs:
20
uses: actions/checkout@v4
21
22
- name: Set up Node.js
23
+ if: hashFiles('CosmoView/package.json') != ''
24
uses: actions/setup-node@v4
25
with:
26
node-version: "20"
27
cache: "npm"
28
cache-dependency-path: CosmoView/package-lock.json
29
30
- name: Install frontend dependencies
- working-directory: CosmoView
31
- run: npm ci
32
+ run: npm ci --prefix CosmoView
33
34
- name: Build frontend bundle
35
- run: npm run build
36
+ run: npm --prefix CosmoView run build
37
38
- name: Start SSH agent
39
uses: webfactory/ssh-agent@v0.9.0
0 commit comments