chore(deps): update vitest monorepo to v4.1.8 (#1899) #4871
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: ts | |
| on: | |
| pull_request: | |
| paths: | |
| - src/** | |
| - tests/** | |
| - '*.json' | |
| - '*.yaml' | |
| - graphql-codegen.* | |
| - .github/workflows/ts.yaml | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - src/** | |
| - tests/** | |
| - '*.json' | |
| - '*.yaml' | |
| - graphql-codegen.* | |
| - .github/workflows/ts.yaml | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| - run: npm install -g corepack | |
| - run: corepack enable | |
| - run: pnpm i | |
| - run: pnpm test | |
| - run: pnpm build | |
| - name: smoke test | |
| uses: ./ | |
| generate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| - run: npm install -g corepack | |
| - run: corepack enable | |
| - run: pnpm i | |
| - run: pnpm run check | |
| - run: pnpm graphql-codegen | |
| - uses: int128/update-generated-files-action@678c755dae6c86602016092994c428b76bf58526 # v2.97.0 |