Merge pull request #676 from estebancastano/main #542
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: 🧑🚀 Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - next | |
| pull_request: | |
| branches: | |
| - main | |
| - next | |
| jobs: | |
| vitest: | |
| runs-on: ubuntu-latest | |
| name: ⚡ Testing with Vitest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm 9 | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run Vitest | |
| run: pnpm test | |
| svgs-size: | |
| runs-on: ubuntu-latest | |
| name: 📦 SVGs Size | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm 9 | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Install utility dependencies | |
| run: pnpm install | |
| working-directory: ./utils/check-size | |
| - name: Check svgs size | |
| run: pnpm start | |
| working-directory: ./utils/check-size |