Skip to content

chore(deps): bump the major group with 2 updates #5657

chore(deps): bump the major group with 2 updates

chore(deps): bump the major group with 2 updates #5657

Workflow file for this run

name: Check code quality
on:
pull_request:
workflow_dispatch:
# see: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue#configuring-continuous-integration-ci-workflows-for-merge-queues
merge_group:
# cancel previous runs if new changes are pushed to the branch/PR
# see: https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_REMOTE_CACHE__TURBO_TOKEN }}
jobs:
# We run the build first standalone to ensure everything is cached for all other jobs
build:
name: Build and Cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/templates/node-setup
- name: 🛠️ Build packages
run: pnpm run build:all
check:
name: Check code quality
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
# needed when building VitePress docs so timestamps can be calculated correctly
fetch-depth: 0
- uses: ./.github/templates/node-setup
- name: 🔎 Lint
run: pnpm run lint:ci:all
# we must continue on error here so the eslint results are uploaded to GitHub in the next step.
continue-on-error: true
- name: Upload eslint results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
- name: 🔎 Check formatting
run: pnpm run format:check:all
- name: 🛠️ Build packages
run: pnpm run build:all
- name: 🚨 Run unit tests
run: pnpm run test:all
# make sure that publint is only run after all packages have been built
- name: Run publint
run: pnpm run publint:all
- name: Upload code coverage artifact
uses: actions/upload-artifact@v4
if: always() # needed to also upload test results when they failed (useful for debugging)
with:
name: coverage
path: packages/sit-onyx/coverage
- name: Upload Storybook artifact
uses: actions/upload-artifact@v4
with:
name: storybook-static
path: packages/sit-onyx/storybook-static
- name: Upload documentation artifact
uses: actions/upload-artifact@v4
with:
name: documentation
path: apps/docs/src/.vitepress/dist
screenshots:
needs: build
name: Component tests
uses: ./.github/workflows/playwright.yml
secrets: inherit