Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
559 B
32 lines
559 B
name: CI - WebUI |
|
|
|
on: [pull_request, push] |
|
|
|
jobs: |
|
ci: |
|
name: Check |
|
runs-on: ubuntu-latest |
|
|
|
defaults: |
|
run: |
|
working-directory: src/webui/www |
|
|
|
steps: |
|
- name: Checkout repository |
|
uses: actions/checkout@v2 |
|
|
|
- name: Setup nodejs |
|
uses: actions/setup-node@v2 |
|
with: |
|
node-version: 'lts/*' |
|
|
|
- name: Install tools |
|
run: npm install |
|
|
|
- name: Lint code |
|
run: npm run lint |
|
|
|
- name: Format code |
|
run: | |
|
npm run format |
|
git diff --exit-code
|
|
|