mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 00:37:49 +00:00
Use lint script from package.json
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user