GitHub Action to install Angular CLI with optional version selection. The action now caches the npm cache to speed up subsequent runs.
- name: Install Latest Angular
uses: actions/angular-github-actionsYou can also specify the version
- name: Install Angular 12.2.7
uses: actions/angular-github-actions
with:
version: 12.2.7cli-version– the installed Angular CLI version
Caching for the npm directory is enabled by default to optimize your workflow.