Skip to content

Bump @types/lodash from 4.14.176 to 4.17.11 in /node #2006

Bump @types/lodash from 4.14.176 to 4.17.11 in /node

Bump @types/lodash from 4.14.176 to 4.17.11 in /node #2006

on:
pull_request:
branches: [develop]
name: Build
jobs:
# JOB to run change detection
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
Angular: ${{ steps.filter.outputs.Angular }}
Node: ${{ steps.filter.outputs.Node }}
steps:
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
Angular:
- 'angular/**'
Node:
- 'node/**'
# JOB to build Angular code
Angular:
needs: changes
if: ${{ needs.changes.outputs.Angular == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 14
- name: build
run: |
cd angular
npm install
npm run build
cd ..
- name: test
run: |
cd angular
npm install
npm run test:ci
# JOB to build Node code
Node:
needs: changes
if: ${{ needs.changes.outputs.Node == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: build
run: |
cd node
yarn install
npm run build
cd ..
- name: test
run: |
cd node
yarn install
npm test