Skip to content

Commit

Permalink
Update ci-tests.yml: setting working directory for steps
Browse files Browse the repository at this point in the history
  • Loading branch information
AronBuzogany authored Feb 18, 2024
1 parent 8d8327f commit 683998b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-

- name: Go to frontend directory
run: cd frontend


- name: Install dependencies
working-directory: ./frontend
run: npm i

- name: Build
working-directory: ./frontend
run: npm run build

- name: Preview Web App
working-directory: ./frontend
run: npm run preview &

- name: Running tests
working-directory: ./frontend
run: npm test

0 comments on commit 683998b

Please sign in to comment.