Update missing @types in build #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was auto-generated by the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Deploy to Firebase Hosting on merge | |
'on': | |
push: | |
branches: | |
- development | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.18.2 | |
uses: actions/setup-node@v3 | |
- name: Create Firebase-Config | |
run: | | |
echo "${{ secrets.FIREBASE_CONFIG }}" > src/firebase/config.tsx | |
shell: bash | |
- name: build project | |
shell: 'bash' | |
run: | | |
npm ci --omit=dev --ignore-scripts | |
npm run build | |
- uses: FirebaseExtended/[email protected] | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KINDERGARTEN_TIMETRACKER }}' | |
channelId: live | |
projectId: kindergarten-timetracker |