[Snyk] Security upgrade @angular/compiler-cli from 12.1.1 to 16.2.10 #139
Workflow file for this run
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: Test and Build PR | |
on: | |
pull_request: | |
branches: [ master ] | |
env: | |
NODE_VERSION: '12.x' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Node.js modules | |
uses: actions/cache@v1 | |
with: | |
path: ./node_modules | |
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.OS }}-node- | |
${{ runner.OS }}- | |
- name: Install dependencies | |
run: npm install | |
- name: Test app | |
run: npm run test ngx-virtual-swiper-demo | |
- name: Test lib | |
run: npm run test:lib | |
- name: Build app | |
run: npm run ng build -- --prod | |
- name: Build lib | |
run: npm run build:lib |