Compare commits
3 Commits
eca59344f6
...
fr/testing
Author | SHA1 | Date | |
---|---|---|---|
82a24efd91 | |||
5f29773b4a | |||
7eb548e138 |
@ -3,10 +3,6 @@ name: Build DeguApp backend
|
|||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./api
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -19,11 +15,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "20.14.0"
|
node-version: "20.14.0"
|
||||||
|
|
||||||
- name: change directory to api/
|
- name: npm install
|
||||||
|
working-directory: api/
|
||||||
- name: npm install, build and test
|
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
- name: npm run build
|
||||||
|
working-directory: api/
|
||||||
|
run: |
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
|
- name: npm run test
|
||||||
|
working-directory: api/
|
||||||
|
run: |
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user