Feat: add remove instant from the dom without fetch, and authorId in … #19
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
name: Firebase Emulator Testing | |
on: [push, pull_request] | |
jobs: | |
emulator_test: | |
name: Run all the tests using Firebase Emulator Suite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "20" | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "oracle" | |
java-version: "17" | |
- name: Install Firebase Emulator Suite | |
run: npm install -g firebase-tools | |
- name: Install depedencies | |
run: npm install | |
working-directory: src/ | |
- name: Run all the tests | |
working-directory: src/ | |
run: firebase emulators:exec --project code-vault-dd8d8 'npm run test' | |
env: | |
GCloud_Project: fb-visuals | |
VITE_API_KEY: ${{ secrets.VITE_API_KEY }} | |
VITE_AUTH_DOMAIN: ${{ secrets.VITE_AUTH_DOMAIN }} | |
VITE_PROJECT_ID: ${{ secrets.VITE_PROJECT_ID }} | |
VITE_STORAGE_BUCKET: ${{ secrets.VITE_STORAGE_BUCKET }} | |
VITE_MESSAGING_SENDER_ID: ${{ secrets.VITE_MESSAGING_SENDER_ID }} | |
VITE_APP_ID: ${{ secrets.VITE_APP_ID }} | |
VITE_MEASUREMENT_ID: ${{ secrets.VITE_MEASUREMENT_ID }} | |
FIREBASE_TYPE: ${{ secrets.FIREBASE_TYPE }} | |
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }} | |
FIREBASE_PRIVATE_KEY_ID: ${{ secrets.FIREBASE_PRIVATE_KEY_ID }} | |
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }} | |
FIREBASE_CLIENT_EMAIL: ${{ secrets.FIREBASE_CLIENT_EMAIL }} | |
FIREBASE_CLIENT_ID: ${{ secrets.FIREBASE_CLIENT_ID }} | |
FIREBASE_AUTH_URI: ${{ secrets.FIREBASE_AUTH_URI }} | |
FIREBASE_TOKEN_URI: ${{ secrets.FIREBASE_TOKEN_URI }} | |
FIREBASE_AUTH_PROVIDER_X509_CERT_URL: ${{ secrets.FIREBASE_AUTH_PROVIDER_X509_CERT_URL }} | |
FIREBASE_CLIENT_X509_CERT_URL: ${{ secrets.FIREBASE_CLIENT_X509_CERT_URL }} | |
FIREBASE_UNIVERSE_DOMAIN: ${{ secrets.FIREBASE_UNIVERSE_DOMAIN }} |