chore(deps): update dependency vite to v6 #1029
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: test | |
on: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read # for checkout repository | |
actions: read # for fetching base branch bundle stats | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Enable corepack for pnpm | |
run: corepack enable pnpm | |
- name: Setup & Restore Node cache | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
cache: 'pnpm' | |
node-version-file: 'package.json' | |
- name: Install all packages | |
run: pnpm install --frozen-lockfile | |
- name: Restore turbo cache | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4 | |
with: | |
path: .turbo/cache | |
key: | |
turbo/${{ github.job }}/${{ github.ref_name }}/${{ github.sha }} | |
restore-keys: | | |
turbo/${{ github.job }}/${{ github.ref_name }}/ | |
turbo/${{ github.job }}/ | |
- name: Lint check | |
run: pnpm lint | |
- name: Type check | |
run: pnpm typecheck | |
- name: Build check | |
run: pnpm build |