Deps: Update vitest monorepo to v1.2.0. #1098
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: CI | |
on: [push, pull_request, pull_request_target] | |
env: | |
CI: true | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
jobs: | |
build: | |
name: 🔨 Build | |
timeout-minutes: 25 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: 🕶️ Checkout repository | |
uses: actions/checkout@v4 | |
- name: 📦 Install | |
uses: ./.github/common/install | |
- name: 🔨 Build | |
run: npm run build | |
lint: | |
name: 📋 Lint | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🕶️ Checkout repository | |
uses: actions/checkout@v4 | |
- name: 📦 Install | |
uses: ./.github/common/install | |
- name: 📋 Lint | |
run: npm run lint | |
test: | |
name: 🧪 Test | |
timeout-minutes: 20 | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🕶️ Checkout repository | |
uses: actions/checkout@v4 | |
- name: 📦 Install | |
uses: ./.github/common/install | |
- name: 🔨 Build | |
run: npm run build | |
- name: 🧪 Test | |
run: npm run test | |
- name: 🦺 Codecov Coverage Reports | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
typecheck: | |
name: ✅ Typecheck | |
timeout-minutes: 15 | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🕶️ Checkout repository | |
uses: actions/checkout@v4 | |
- name: 📦 Install | |
uses: ./.github/common/install | |
- name: 🔨 Build | |
run: npm run build | |
- name: ✅ Typecheck | |
run: npm run typecheck |