Added feature to get path to npm executable automatically #5
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: Code quality check | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install black flake8 isort | |
- name: Lint with Flake8 | |
run: python -m flake8 django_node_assets | |
- name: Check with isort | |
run: python -m isort django_node_assets --check | |
- name: Check with Black | |
run: python -m black django_node_assets --check |