1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-25 01:31:47 +03:00
leon/.github/workflows/lint.yml

35 lines
618 B
YAML
Raw Normal View History

name: Lint
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: npm
- name: Install Pipenv
run: pip install --upgrade pip && pip install pipenv
- name: Install
2021-12-28 16:06:48 +03:00
run: npm install
- name: Run linter
run: npm run lint