chore(deps): bump @mui/utils from 5.16.6 to 6.3.0 #812
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: 'Verify Pull Request' | |
on: | |
pull_request: | |
branches: | |
- main | |
- release-* | |
- next | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
unit_tests_linux: | |
name: Verify PR - Tests (Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Extract node version from package.json | |
uses: sergeysova/jq-action@v2 | |
id: node_version | |
with: | |
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Use Yarn | |
run: corepack enable | |
- name: Install deps | |
run: yarn | |
- name: Run all unit tests | |
run: yarn nx run-many --target=test/unit --configuration=ci --parallel --verbose --exclude='*,!tag:linux' | |
- uses: codecov/codecov-action@v4 | |
if: always() | |
with: | |
files: '**/.test-runs/unit/lcov.info' | |
flags: unit-tests | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
component_tests_linux: | |
name: Verify PR - Component Tests (Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Extract node version from package.json | |
uses: sergeysova/jq-action@v2 | |
id: node_version | |
with: | |
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Use Yarn | |
run: corepack enable | |
- name: Install deps | |
run: yarn | |
env: | |
YARN_ENABLE_HARDENED_MODE: '0' | |
- name: Run all component tests | |
run: yarn nx run-many --target=test/components --configuration=ci --verbose --exclude='*,!tag:linux' | |
- name: Upload visual regression artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: component-visual-regression | |
path: apps/playnite-web/visual-regression-tests | |
- name: Upload test video artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: component-cypress-videos | |
path: apps/playnite-web/cypress/videos | |
- name: Upload test screenshot artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: component-cypress-screenshots | |
path: apps/playnite-web/cypress/screenshots | |
- uses: codecov/codecov-action@v4 | |
if: always() | |
with: | |
files: '**/.test-runs/**/lcov.info' | |
flags: component-tests | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
e2e_tests_linux: | |
name: Verify PR - e2e Tests (Linux) | |
runs-on: ubuntu-latest | |
env: | |
REGISTRY: ghcr.io | |
OWNER: andrew-codes | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Extract node version from package.json | |
uses: sergeysova/jq-action@v2 | |
id: node_version | |
with: | |
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Use Yarn | |
run: corepack enable | |
- name: Install deps | |
run: yarn | |
env: | |
YARN_ENABLE_HARDENED_MODE: '0' | |
- name: Run all e2e tests | |
run: yarn nx run playnite-web-app:test/e2e:ci --verbose --exclude='*,!tag:linux' | |
env: | |
NODE_ENV: production | |
DEBUG: 'playnite-web/*' | |
- name: Upload visual regression artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-visual-regression | |
path: apps/playnite-web/visual-regression-tests | |
- name: Upload test video artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-cypress-videos | |
path: apps/playnite-web/cypress/videos | |
- name: Upload test screenshot artifacts | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-cypress-screenshots | |
path: apps/playnite-web/cypress/screenshots | |
- uses: codecov/codecov-action@v4 | |
if: always() | |
with: | |
files: '**/.test-runs/**/lcov.info' | |
flags: e2e-tests | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
package_linux: | |
name: Package non-Windows projects | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
env: | |
REGISTRY: ghcr.io | |
OWNER: andrew-codes | |
PUBLISH: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Extract node version from package.json | |
uses: sergeysova/jq-action@v2 | |
id: node_version | |
with: | |
cmd: jq .engines.node package.json -r | sed -e 's/"//g' | sed -e 's/>=//g' | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Use Yarn | |
run: corepack enable | |
- name: Install deps | |
run: yarn | |
env: | |
YARN_ENABLE_HARDENED_MODE: '0' | |
- name: Log in to the Container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY}} | |
username: ${{ env.OWNER }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Run version | |
run: yarn nx run-many --target=version --exclude='*,!tag:linux' | |
env: | |
NODE_ENV: production | |
- name: Package projects | |
run: yarn nx run-many --target=package --configuration=production --verbose --exclude='*,!tag:linux' | |
env: | |
NODE_ENV: production | |
DEBUG: 'playnite-web/*' | |
PLATFORM: linux/amd64,linux/arm64 | |
unit_tests_windows: | |
name: Verify PR - Tests (Windows) | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install jq | |
run: curl -L -o jq.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe | |
- name: Read Node version | |
run: echo "value=$(./jq.exe -r .engines.node package.json | sed -e 's/>=//g' | sed -e 's/"//g')" >> $GITHUB_OUTPUT | |
shell: bash | |
id: node_version | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Read Yarn version | |
run: echo "value=$(./jq.exe -r .engines.yarn package.json | sed -e 's/"//g')" >> $GITHUB_OUTPUT | |
shell: bash | |
id: yarn_version | |
- name: Enable yarn | |
run: corepack enable | |
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value}} | |
- name: Install deps | |
run: yarn | |
env: | |
YARN_ENABLE_HARDENED_MODE: '0' | |
- name: Run all unit tests | |
run: yarn nx run-many --target=test/unit --configuration=ci --parallel --verbose --exclude='*,!tag:windows' | |
package_windows: | |
name: Package Windows projects | |
runs-on: windows-latest | |
permissions: | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Download Playnite Toolbox | |
run: |- | |
mkdir -p .tools/Playnite && curl "${{ secrets.PLAYNITE_TOOLBOX_URL }}" -o Playnite.zip && unzip Playnite.zip -d .tools/Playnite | |
- name: Install jq | |
run: curl -L -o jq.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe | |
- name: Read Node version | |
run: echo "value=$(./jq.exe -r .engines.node package.json | sed -e 's/>=//g' | sed -e 's/"//g')" >> $GITHUB_OUTPUT | |
shell: bash | |
id: node_version | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ steps.node_version.outputs.value }}' | |
- name: Read Yarn version | |
run: echo "value=$(./jq.exe -r .engines.yarn package.json | sed -e 's/"//g')" >> $GITHUB_OUTPUT | |
shell: bash | |
id: yarn_version | |
- name: Enable yarn | |
run: corepack enable | |
- run: corepack prepare --activate yarn@${{ steps.yarn_version.outputs.value }} | |
- name: Install deps | |
run: yarn | |
env: | |
YARN_ENABLE_HARDENED_MODE: '0' | |
- name: Run Version | |
run: yarn nx run-many --target=version --exclude='*,!tag:windows' | |
env: | |
NODE_ENV: production | |
- name: Package projects | |
run: yarn nx run-many --target=package --configuration=production --parallel --verbose --exclude='*,!tag:windows' | |
env: | |
NODE_ENV: production | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: playnite-web-extension | |
path: apps/*/_packaged/** |