Skip to content

Update react monorepo #1178

Update react monorepo

Update react monorepo #1178

Workflow file for this run

name: Run Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Set up local secrets
env:
MAPBOX_KEY: ${{ secrets.MAPBOX_KEY }}
BASE_URL: ${{ secrets.BASE_URL }}
run: echo -e "VITE_MAPBOX_KEY=$MAPBOX_KEY\nVITE_BASE_URL=$BASE_URL" > local.env
- name: Run Tests
run: npm install && npm run test --verbose