diff options
Diffstat (limited to '.github/workflows/lint.yml')
| -rw-r--r-- | .github/workflows/lint.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..b4a01172 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Lint + +on: + push: + +jobs: + lint: + name: Run linters + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 # Check out the repository first. + - name: Run prettier (JavaScript & TypeScript) + run: | + pushd frontend + npm install + npm run lint + popd + + - name: Run ruff (Python) + uses: jpetrucciani/ruff-check@0.0.239 + with: + path: "./backend" + + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master |
