added the working directory in the npm github action

This commit is contained in:
Fabio Formosa
2022-10-27 01:08:56 +02:00
parent 71ee075cfa
commit fc1ea9166c

View File

@@ -14,6 +14,10 @@ on:
- develop - develop
- master - master
defaults:
run:
working-directory: ./quartz-manager-frontend
jobs: jobs:
build: build:
@@ -33,10 +37,7 @@ jobs:
cache: 'npm' cache: 'npm'
- name: 'install' - name: 'install'
run: npm ci run: npm ci
working-directory: quartz-manager-frontend
- name: 'test' - name: 'test'
run: npm test run: npm test
working-directory: quartz-manager-frontend
- name: 'build' - name: 'build'
run: npm run build --if-present run: npm run build --if-present
working-directory: quartz-manager-frontend