This repository was archived by the owner on Jun 18, 2026. It is now read-only.
fix(extension): create eventChannel after initializeApp #884
Workflow file for this run
This file contains hidden or 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: Testing | |
| on: | |
| push: | |
| branches: | |
| - next | |
| - master | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| nodejs: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: false | |
| strategy: | |
| matrix: | |
| node: ["20"] | |
| max-parallel: 1 | |
| name: node.js_${{ matrix.node }}_test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: "npm" | |
| cache-dependency-path: "**/package-lock.json" | |
| - name: Install Dependencies | |
| run: npm install | |
| - name: Build emulator functions | |
| run: | | |
| cd firestore-stripe-payments/_emulator/functions && npm i && cd ../../.. | |
| cd firestore-stripe-web-sdk/_emulator/functions && npm i && cd ../../.. | |
| - name: Install Firebase CLI | |
| uses: nick-invision/retry@v3 | |
| with: | |
| timeout_minutes: 10 | |
| retry_wait_seconds: 60 | |
| max_attempts: 3 | |
| command: npm i -g firebase-tools@14 | |
| - name: Install Stripe CLI | |
| run: | | |
| STRIPE_VERSION=$(curl -s https://api.github.com/repos/stripe/stripe-cli/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') | |
| curl -L -o stripe_linux_x86_64.tar.gz https://github.com/stripe/stripe-cli/releases/download/${STRIPE_VERSION}/stripe_${STRIPE_VERSION#v}_linux_x86_64.tar.gz | |
| tar -xzf stripe_linux_x86_64.tar.gz | |
| sudo mv stripe /usr/local/bin/ | |
| - name: Run Tests | |
| run: npm test | |
| env: | |
| STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY }} |