Skip to content

[Snyk] Security upgrade @nx/angular from 16.8.1 to 19.6.0 #149

[Snyk] Security upgrade @nx/angular from 16.8.1 to 19.6.0

[Snyk] Security upgrade @nx/angular from 16.8.1 to 19.6.0 #149

Workflow file for this run

name: Pull-Request CI
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('package.json') }}
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16.X
- run: npm install
- name: Build Libs
shell: bash
run: |
if [[ $GITHUB_BASE_REF ]]
then
export NX_BASE=remotes/origin/$GITHUB_BASE_REF
else
export NX_BASE=$(git rev-parse HEAD~1)
fi
echo "Base => $NX_BASE"
npm run affected:build -- --base=$NX_BASE
- name: Run Tests
shell: bash
run: |
if [[ $GITHUB_BASE_REF ]]
then
export NX_BASE=remotes/origin/$GITHUB_BASE_REF
else
export NX_BASE=$(git rev-parse HEAD~1)
fi
echo "Base => $NX_BASE"
npm run affected:test -- --base=$NX_BASE
- run: npm run build
- name: Deploy Preview
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/apps/demo
destination_dir: ./pr_${{ github.event.number }}
keep_files: false