build(deps-dev): bump rollup from 4.62.5 to 4.63.0 (#2142) #4936
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
| # This is a basic workflow to help you get started with Actions | |
| name: CI | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| permissions: | |
| contents: read | |
| jobs: | |
| # This workflow contains a single job called "build" | |
| build: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| # Steps represent a sequence of tasks that will be executed as part of the job | |
| steps: | |
| # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24.x | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run Lint | |
| run: npm run lint | |
| - name: Run Tests with Coverage | |
| run: npm run test:ci | |
| - name: Test Report | |
| uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v1 | |
| if: success() || failure() # run this step even if previous step failed | |
| continue-on-error: true | |
| with: | |
| name: Vitest Tests | |
| path: junit.xml # Path to test results | |
| reporter: java-junit # Vitest's JUnit reporter emits standard JUnit XML | |
| fail-on-error: 'false' | |
| - name: Upload Coverage Results | |
| uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| with: | |
| directory: ./coverage/ | |
| # Non-fatal: if vitest dies before its reporters flush there is no | |
| # junit.xml, and a failing mv here would mask the real test failure. | |
| - name: Rename JUnit Results | |
| if: always() | |
| continue-on-error: true | |
| run: mv junit.xml ui-toolkit-react-unit.xml | |
| - name: Upload Vitest Results | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: ui-toolkit-react-unit | |
| path: ui-toolkit-react-unit.xml | |
| if-no-files-found: ignore | |
| - name: Upload Coverage Artifacts | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: ui-toolkit-react-coverage | |
| path: coverage/ | |
| if-no-files-found: ignore | |
| - name: Run Build | |
| run: npm run build |