qBittorrent/.github/workflows/webui_ci.yaml
Chocobo1 535603fac4
Use latest Ubuntu images
Jobs in those workflows has little to do with specific OS version, so
just use the latest.
2021-08-13 12:23:16 +08:00

32 lines
570 B
YAML

name: CI - WebUI
on: [pull_request, push]
jobs:
check_webui:
name: Check WebUI
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: '14'
- name: install tools
run: npm install
- name: lint code
run: npm run lint
- name: format code
run: |
npm run format
git diff --exit-code