本页还没有译文
本页 9 段还没译成Русский,下面显示的是英文原文。CI/CD
还没翻译译自英文(tanstack.com)本页 9 段都还没译
GitHub Workflows
pr.yml:- Runs tests for all pull requests
- Runs
nx affected, which only executes tasks with invalidated cache - Also uses
pkg-pr-newto publish package previews and create links to our examples
release.yml:- Runs tests for code merged into release branches
- Runs
nx run-many, which executes all tasks and ensures the outputs are present (necessary for publishing builds) - Uses Changesets to handle versioning and publishing
Nx
The TanStack projects use Nx to enable rapid execution of our tests and builds. Tasks are parallelised and cached both locally and in CI. While Nx has an extensive plugin system, we only utilise Nx as an NPM script runner.
Config Files
./nx.json: Main config file, which defines task dependencies, inputs, and outputs./package.json: Need to manually specify root-level scripts (e.g.test:eslint)./**/package.json: Package-level scripts (e.g.build) are automatically detected
Nx Agents
- Nx allows you to distribute your tasks across multiple CI machines, increasing the number of jobs that can be run in parallel
- Please note that this does incur quite a significant startup delay
AI 翻译查看英文原文