chore(deps-dev): bump vitest from 4.1.5 to 4.1.11 #2863
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: Pull Request | |
| on: [pull_request] | |
| jobs: | |
| Format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install Corepack | |
| run: npm install --global corepack | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Format check | |
| run: yarn ci:format | |
| Site_Checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install Corepack | |
| run: npm install --global corepack | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Test examples and hrefs | |
| run: yarn test | |
| Vitest: | |
| runs-on: ubuntu-latest | |
| container: | |
| # Keep this image tag aligned with package.json's playwright version. | |
| image: mcr.microsoft.com/playwright:v1.59.1-noble | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install Corepack | |
| run: npm install --global corepack | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Build ReScript | |
| run: yarn build:res | |
| - name: Vitest | |
| run: yarn ci:test | |
| Visual_Regression: | |
| runs-on: ubuntu-latest | |
| container: | |
| # Keep this image tag aligned with package.json's playwright version. | |
| image: mcr.microsoft.com/playwright:v1.59.1-noble | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install Corepack | |
| run: npm install --global corepack | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version-file: ".node-version" | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn | |
| - name: Build ReScript | |
| run: yarn build:res | |
| - name: Visual regression tests | |
| run: yarn ci:test:visual | |
| - name: Upload visual regression artifacts | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: visual-regression-artifacts | |
| path: | | |
| apps/docs/.vitest-attachments |