Bump tough-cookie from 4.1.2 to 4.1.3 in /MangoAPI.Client #417
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: Build Angular | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
branches: | |
- develop | |
- main | |
workflow_dispatch: | |
jobs: | |
build-angular: | |
name: Build Angular | |
runs-on: ${{ matrix.environment }} | |
strategy: | |
matrix: | |
environment: | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- name: 'Setup Node.js 16.x' | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'npm' | |
cache-dependency-path: 'MangoAPI.Client/package-lock.json' | |
- name: 'Print current node version' | |
run: node -v | |
- name: 'Print current npm version' | |
run: npm -v | |
- name: 'Npm ci' | |
working-directory: './MangoAPI.Client' | |
run: npm ci | |
- name: 'Install angular cli 15.2.2' | |
run: npm install -g @angular/[email protected] | |
- name: 'Print current angular cli version' | |
run: ng version | |
- name: 'Angular build' | |
working-directory: './MangoAPI.Client' | |
run: ng build | |
- name: 'Drop artifact' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'angular-build-${{ matrix.environment }}' | |
path: './MangoAPI.Presentation/wwwroot' |