Fixed directories in yaml files

This commit is contained in:
Lucas Jensen
2024-06-26 19:29:09 -07:00
parent 9c39bfc7e4
commit 6395537c29
2 changed files with 15 additions and 1 deletions

View File

@@ -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

View File

@@ -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 .