Compare commits
3 Commits
b956385a96
...
fr/testing
Author | SHA1 | Date | |
---|---|---|---|
82a24efd91 | |||
5f29773b4a | |||
7eb548e138 |
@ -5,9 +5,6 @@ on: pull_request
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: ./api
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
@ -18,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