feat: 阻止全屏时使用Enter
跳过赞助片段时播放器默认聚焦到弹幕输入框的行为
#649
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
# Initialization | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- run: npm ci | |
- run: sudo apt-get install chromium-chromedriver | |
- name: Copy configuration | |
run: cp config.json.example config.json | |
- name: Run tests | |
run: npm run test | |
- name: Upload results on fail | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test Results | |
path: ./test-results |