chore(firestore-stripe-payments): updated ownership in readme #353
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: Testing | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
nodejs: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
strategy: | |
matrix: | |
node: ["14", "16"] | |
max-parallel: 1 | |
name: node.js_${{ matrix.node }}_test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: NPM install | |
run: npm install | |
- name: Install firebase CLI | |
uses: nick-invision/retry@v2 | |
with: | |
timeout_minutes: 10 | |
retry_wait_seconds: 60 | |
max_attempts: 3 | |
command: npm i -g firebase-tools | |
- name: Use extension commands | |
run: firebase --open-sesame extdev | |
- name: mask env paramaters | |
run: echo "::add-mask::$STRIPE_WEBHOOK_SECRET" | |
- name: Run tests with coverage | |
run: npm run test | |
env: | |
STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY }} |