Fix error added by qbittorrent 5.0 pymedusa/Medusa#11844 #3071
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend tests | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install themes dependencies | |
working-directory: ./themes-default/slim | |
run: yarn install --ignore-scripts | |
- name: Check themes builds | |
run: | | |
mv ./.github/build-themes-check.sh ./themes-default/slim | |
cd ./themes-default/slim | |
bash build-themes-check.sh | |
- name: Test lint | |
working-directory: ./themes-default/slim | |
run: yarn lint && yarn lint-css | |
- name: Test build | |
working-directory: ./themes-default/slim | |
run: yarn test | |
- name: Upload coverage to Codecov | |
working-directory: ./themes-default/slim | |
run: yarn coverage |