Skip to content

Update demo-ci.yml

Update demo-ci.yml #14

Workflow file for this run

name: Demo CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Install javascript dependencies
uses: borales/[email protected]
with:
cmd: --cwd web install # will run `yarn install` command
- name: Lint javascript code
uses: borales/[email protected]
with:
cmd: --cwd web run lint # will run `yarn run lint` command
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'backend/requirements.txt'
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
cat backend/requirements.txt | grep -v '#' | xargs -n 1 pip install
continue-on-error: false
- name: Run flake
run: |
flake8 backend --config backend/.flake8
continue-on-error: false