mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 03:03:26 +00:00
This adds a new GitHub Actions workflow build-cli-nx.yml that builds the CLI using Nx commands instead of npm scripts. Key differences: - Uses `npx nx build cli --configuration=oss/bit` instead of npm run dist commands - Simplified build matrix focusing on OSS/Bit configurations - Runs build, test, and lint targets through Nx - Working directory is repo root instead of apps/cli - Removes platform-specific packaging (focusing on basic build verification) This complements the existing build-cli.yml workflow and allows us to validate that our Nx integration works in CI while keeping the existing npm-based builds as the primary deployment mechanism. The workflow validates both OSS and Bit configurations and ensures the build output is functional by testing the CLI help command.