Fixed directories in yaml files
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
name: build app
|
name: build app
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
||||||
@@ -20,6 +22,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Build
|
- name: Lint
|
||||||
|
working-directory: client
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
npm run prettier:check
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
working-directory: client
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
name: Portfolio Backend CI
|
name: Portfolio Backend CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
||||||
@@ -16,10 +18,12 @@ jobs:
|
|||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pytest
|
pip install pytest
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Lint with black
|
- name: Lint with black
|
||||||
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
black --check .
|
black --check .
|
||||||
|
|||||||
Reference in New Issue
Block a user