mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2026-05-14 22:00:30 +09:00
added the working directory in the npm github action
This commit is contained in:
7
.github/workflows/npm.yml
vendored
7
.github/workflows/npm.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user