mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-11 16:13:51 +03:00
* Add lint job to build workflow * Add prettier-plugin-import-sort * Install prettier plugins before linting * Use lint script from package.json * Move linters to separate workflow * Remove Python and Shell linters * Remove popd * Test that prettier properly fails the lint job
18 lines
305 B
YAML
18 lines
305 B
YAML
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
|