added the working directory in the npm github action

This commit is contained in:
Fabio Formosa
2022-10-27 00:59:38 +02:00
parent 5547b7e868
commit d16b681362

View File

@@ -31,9 +31,12 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - name: 'install'
working-directory: ./quartz-manager-frontend run: npm ci
- run: npm test working-directory: quartz-manager-frontend
working-directory: ./quartz-manager-frontend - name: 'test'
- run: npm run build --if-present run: npm test
working-directory: ./quartz-manager-frontend working-directory: quartz-manager-frontend
- name: 'build'
run: npm run build --if-present
working-directory: quartz-manager-frontend