Install Node.js and Angular CLI with GitHub Actions

A quick example to show you how to install Node.js and Angular CLI in GitHub Actions.
- uses: actions/[email protected]
- name: Installing Node
uses: actions/[email protected]
with:
node-version: 12.8
- name: Installing npm dependencies including the Angular CLI
run: npm install
- name: Build
run: npm run build -- --prod
We first install Node, next we run the npm install
and npm build
commands to install the Angular project dependencies including Angular CLI and build the project for production.
- Author: Ahmed Bouchefra Follow @ahmedbouchefra
-
Date:
✋If you have any questions about this article, ask them in our GitHub Discussions 👈 community. You can also
❤️ Like our page and subscribe to our feed for updates!
Find a list of emojis to copy and paste
Related posts