Skip to content

Update react monorepo (major) #1150

Update react monorepo (major)

Update react monorepo (major) #1150

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
runs-on: ubuntu-latest
env:
REACT_APP_AUTH0_DOMAIN: ror-entur-dev.eu.auth0.com
REACT_APP_AUTH0_CLIENT_ID: fa3xdcRIvN3QpVl3eVRUGPiJEoHSTy0C
REACT_APP_AUTH0_AUDIENCE: https://ror.api.dev.entur.io
REACT_APP_AUTH0_RELATIVE_CALLBACK_URL: /
REACT_APP_TIMETABLE_ADMIN_BASE_URL: https://api.dev.entur.io/timetable-admin/v1/timetable
REACT_APP_PROVIDERS_BASE_URL: https://api.dev.entur.io/timetable-admin/v1/providers
REACT_APP_UTTU_API_URL: https://api.dev.entur.io/timetable-admin/v1/flexible-lines/exportedLineStatistics/graphql
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ENT_NINSAR_DEV }}'
projectId: ent-ninsar-dev
env:
FIREBASE_CLI_PREVIEWS: hostingchannels