fix(vue) issues in input field #1612
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linter | |
on: [push] | |
jobs: | |
Black_bootstrapper: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- run: pipenv install --dev --deploy | |
- name: Run Black | |
run: pipenv run black --check --exclude \{\{cookiecutter . | |
flake8_bootstrapper: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- run: pipenv install --dev --deploy | |
- name: Run flake8 | |
run: pipenv run flake8 --extend-exclude server | |
Black: | |
strategy: | |
matrix: | |
fe_type: [react, vue] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- name: 🐍 Install python dependencies | |
run: pipenv install --dev --deploy | |
- run: | | |
config_file="cookiecutter/${{ matrix.fe_type }}_template.yaml" | |
pipenv run cookiecutter . --config-file $config_file --no-input -f | |
- name: Run Black | |
working-directory: ./my_project/server | |
run: | | |
pipenv install --dev --deploy | |
pipenv run black --check . | |
flake8: | |
strategy: | |
matrix: | |
fe_type: [react, vue] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- name: 🐍 Install python dependencies | |
run: pipenv install --dev --deploy | |
- run: | | |
config_file="cookiecutter/${{ matrix.fe_type }}_template.yaml" | |
pipenv run cookiecutter . --config-file $config_file --no-input -f | |
- name: Run flake8 | |
working-directory: ./my_project/server | |
run: | | |
pipenv install --dev --deploy | |
pipenv run flake8 | |
Lint_Web: | |
strategy: | |
matrix: | |
fe_type: [react, vue] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- name: 🐍 Install python dependencies | |
run: pipenv install --dev --deploy | |
- run: | | |
config_file="cookiecutter/${{ matrix.fe_type }}_template.yaml" | |
pipenv run cookiecutter . --config-file $config_file --no-input -f | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: 📦 Install dependencies | |
env: | |
NPM_CONFIG_PRODUCTION: false | |
working-directory: ./my_project/client | |
run: | | |
npm install | |
- name: 🆎 TypeCheck | |
working-directory: ./my_project/client | |
run: npm run tslint | |
- name: 🚧 ESLint | |
working-directory: ./my_project/client | |
run: npm run eslint | |
Lint_Mobile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- run: pipx install pipenv | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pipenv" | |
- name: 🐍 Install python dependencies | |
run: pipenv install --dev --deploy | |
- run: | | |
config_file="cookiecutter/rn_template.yaml" | |
pipenv run cookiecutter . --config-file $config_file --no-input -f | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: 📦 Install dependencies | |
working-directory: ./my_project/mobile | |
run: npm install | |
- name: 🆎 TypeCheck | |
working-directory: ./my_project/mobile | |
run: npm run lint:tslint | |
- name: 🚧 ESLint | |
working-directory: ./my_project/mobile | |
run: npm run lint:eslint |