This project was generated with Angular CLI version 17.3.13.
Setup angular 17 app, without global cli version conflict:
npx @angular/cli@17 new my-app
npx @angular/cli@17 new my-app --no-standalone
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
all tests are in e2e folder
before this command, keep angular application running in another tab and then these commands
npx playwright test
npx playwright show-report
npx playwright show-trace
open browser manually (parallelly run ng serve in another terminal)
npx playwright test --headed
npx playwright test e2e/user-grid.spec.ts --headed
check if the allure-results/ folder is being created
npx playwright test --reporter=line,allure-playwright
ng g m app-routing --flat --module=app
npx playwright show-trace test-results/<your-test-folder>/trace.zip
(main_14104423181_1) is the GitHub Actions run name.
⚡ But here’s the difference vs Bamboo:
Bamboo badges let you display a specific build number (483-master+483, etc.).
GitHub’s native workflow badge only shows status (passing / failing), not the run name or run number.
✅ 1. Build / Test Status Badges
✅ 2. Environment Deploy Badges
Option A: Separate Workflows Per Environment
Option B: Single Workflow with Multiple Jobs
✅ 3. Build number Badges
There are a couple of ways:
1️⃣ From GitHub Web UI
Go to your repository on GitHub.
Click on Actions tab.
In the left sidebar, select the workflow you want to disable.
Click the ⋯ (three dots) button on the top right of the workflow page.
Select Disable workflow.
✅ This stops it from running on any future triggers.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
