Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

build(deps): bump ip from 1.1.7 to 1.1.9 in /frontend/apps/webapp #78

build(deps): bump ip from 1.1.7 to 1.1.9 in /frontend/apps/webapp

build(deps): bump ip from 1.1.7 to 1.1.9 in /frontend/apps/webapp #78

Workflow file for this run

name: Pull Requests
# Suppress Spinner because it appears as warnings
env:
SUPPRESS_SPINNER: true
# Controls when the action will run. Triggers the workflow on push or pull request
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '*'
- '.github/workflows/frontend-pr.yml'
- 'common/**'
- 'frontend/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required to retrieve git history
# Caching
- name: Cache Gradle deps
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Rush temp files
uses: actions/cache@v2
with:
path: |
common/temp
key: ${{ runner.os }}-rush-${{ hashFiles('common/config/rush/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-rush-
- name: Cache NPM
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
# Setup Environments
- name: Setup Node
uses: actions/setup-node@v2.5.1
with:
node-version: '14'
# Install Node dependencies
- name: Rush Update
run: node common/scripts/install-run-rush.js update
# Build the projects
- name: Rush Client Projects
run: node common/scripts/install-run-rush.js build -T webapp --verbose
env:
CI: false
- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties