mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Introduce automatic linting with Github workflows (#251)
* Add linters * use other setup-python version * Use string instead * Add more linting * Fix tests * minor changes --------- Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
This commit is contained in:
committed by
GitHub
parent
c93176d83a
commit
948a479601
17
.github/workflows/tests-frontend.yml
vendored
Normal file
17
.github/workflows/tests-frontend.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: tests
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
- name: Run prettier
|
||||
run: |
|
||||
cd frontend
|
||||
npm install
|
||||
npx prettier --check .
|
||||
Reference in New Issue
Block a user