Merge branch 'inventory_item_change' of github.com:UCSolarCarTeam/Sol… #426
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Angular CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server." | |
- uses: actions/checkout@v2 | |
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18.x' | |
cache: 'npm' | |
- run: npm install --force | |
- run: npm install -g @angular/cli | |
- run: echo "🖥️ Node and Angular have been installed. Ready to test workflow!" | |
- run: npm run lint | |
- run: echo "🧶 Linting passed!" | |
- run: ng build --configuration production | |
- run: echo "😁 Workflow test passed!" |