Skip to content

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /dialogflow-cx/vpc-sc-demo/frontend #218

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /dialogflow-cx/vpc-sc-demo/frontend

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /dialogflow-cx/vpc-sc-demo/frontend #218

---
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: VPC-SC Demo Frontend Workflow
on:
push:
branches:
- main
paths:
- 'dialogflow-cx/vpc-sc-demo/frontend/**'
pull_request:
branches:
- main
paths:
- 'dialogflow-cx/vpc-sc-demo/frontend/**'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: dialogflow-cx/vpc-sc-demo/frontend
strategy:
matrix:
node-version: [18.x]
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
...