mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
Use lint script from package.json
This commit is contained in:
@@ -35,13 +35,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2 # Check out the repository first.
|
- uses: actions/checkout@v2 # Check out the repository first.
|
||||||
- run: npm install --only=dev --prefix ./frontend
|
|
||||||
- name: Run prettier (JavaScript & TypeScript)
|
- name: Run prettier (JavaScript & TypeScript)
|
||||||
uses: creyD/prettier_action@v4.2
|
run: |
|
||||||
with:
|
pushd frontend
|
||||||
dry: True
|
npm install
|
||||||
prettier_options: --config ./frontend/.prettierrc.js --check
|
npm run lint
|
||||||
prettier_plugins: "prettier-plugin-import-sort"
|
popd
|
||||||
|
|
||||||
- name: Run ruff (Python)
|
- name: Run ruff (Python)
|
||||||
uses: jpetrucciani/ruff-check@0.0.239
|
uses: jpetrucciani/ruff-check@0.0.239
|
||||||
|
|||||||
Reference in New Issue
Block a user