Use lint script from package.json

This commit is contained in:
Sky Leite
2023-02-03 09:51:28 -03:00
parent 7675775527
commit d48fc885a3
+5 -6
View File
@@ -35,13 +35,12 @@ jobs:
steps:
- uses: actions/checkout@v2 # Check out the repository first.
- run: npm install --only=dev --prefix ./frontend
- name: Run prettier (JavaScript & TypeScript)
uses: creyD/prettier_action@v4.2
with:
dry: True
prettier_options: --config ./frontend/.prettierrc.js --check
prettier_plugins: "prettier-plugin-import-sort"
run: |
pushd frontend
npm install
npm run lint
popd
- name: Run ruff (Python)
uses: jpetrucciani/ruff-check@0.0.239