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