Skip to content

update: react-i18next #76

update: react-i18next

update: react-i18next #76

name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci --legacy-peer-deps && npm run build
- name: Test unit
run: npm run test -- --watchAll=false
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_SLIDECONTENT_REACTJS }}
channelId: live
projectId: slidecontent-reactjs