Implement control of other sources playing on a player (#1195) #4389
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: Test and Lint Vue frontend | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| NODE_VERSION: "22.x" # set this to the node version to use | |
| jobs: | |
| test-and-lint: | |
| name: Test and Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Get yarn cache directory path | |
| id: yarn-cache-dir-path | |
| run: echo "::set-output name=dir::$(yarn cache dir)" | |
| - name: Cache Node.js modules | |
| id: yarn-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
| key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn- | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile --silent | |
| env: | |
| CI: true | |
| - name: Run tests | |
| run: yarn test:run | |
| env: | |
| CI: true | |
| - name: Lint | |
| run: yarn lint | |
| env: | |
| CI: true | |
| - name: Build | |
| run: yarn build | |
| env: | |
| CI: true | |
| # disable typecheck for now | |
| # - name: Typecheck | |
| # run: yarn typecheck | |
| # env: | |
| # CI: true |