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.
✋If you have any questions about this article, ask them in our GitHub Discussions 👈 community. You can also
Find a list of emojis to copy and paste