player: don't update progress when page is not focused #80
Workflow file for this run
This file contains hidden or 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: PR | |
| on: | |
| - pull_request | |
| env: | |
| IMAGE: ${{ github.repository }} | |
| VERSION: ${{ github.sha }} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: '20.x' | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Build | |
| run: | | |
| export VITE_BUILD=$VERSION | |
| export VITE_BUILD_DATE=$(date --iso-8601) | |
| yarn build | |
| - name: Build docker image | |
| run: docker build -t $IMAGE:$VERSION -f docker/Dockerfile . |