Skip to content

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /native #863

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /native

Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /native #863

Workflow file for this run

name: frontend
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
changes:
runs-on: ubuntu-latest
outputs:
backend: ${{ steps.filter.outputs.backend }}
frontend: ${{ steps.filter.outputs.frontend }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
backend:
- 'backend/**'
- '.github/workflows/**'
frontend:
- 'frontend/**'
- '.github/workflows/**'
test-app:
name: Test app
needs: changes
if: ${{ needs.changes.outputs.frontend == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm install -g [email protected]
- run: npm install
working-directory: ./frontend
- run: npm run test
working-directory: ./frontend
node-next-test:
strategy:
matrix:
node_version: ['16', '18', '20']
needs: changes
if: ${{ needs.changes.outputs.frontend == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- run: npm install -g [email protected]
- run: npm install
working-directory: ./frontend
- run: npm run test
working-directory: ./frontend