File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,23 @@ jobs:
3333 uses : actions/cache@v3
3434 with :
3535 path : ~/.npm
36- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
36+ key : ${{ runner.os }}-node-${{ hashFiles('unicontract-frontend/ package-lock.json') }}
3737 restore-keys : |
3838 ${{ runner.os }}-node-
3939
4040 # 4️⃣ Install dependencies
4141 - name : Install dependencies
4242 run : npm ci
43+ working-directory : unicontract-frontend
4344
4445 # 5️⃣ Build Angular (opzionale, ma consigliato)
4546 - name : Build Angular
4647 run : npm run build --if-present
48+ working-directory : unicontract-frontend
4749
4850 # 6️⃣ Run tests in headless mode
4951 - name : Run frontend tests
5052 run : npx ng test --watch=false --browsers=ChromeHeadlessCI
53+ working-directory : unicontract-frontend
5154 env :
5255 CHROME_BIN : /usr/bin/google-chrome
You can’t perform that action at this time.
0 commit comments