Skip to content

feat: Egress Traffic Tracking + Stripe Billing Meters #1707

feat: Egress Traffic Tracking + Stripe Billing Meters

feat: Egress Traffic Tracking + Stripe Billing Meters #1707

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm test
env:
AWS_REGION: 'us-west-2'
AWS_ACCESS_KEY_ID: 'NOSUCH'
AWS_SECRET_ACCESS_KEY: 'NOSUCH'
STRIPE_TEST_SECRET_KEY: ${{ secrets.STRIPE_TEST_SECRET_KEY }}
STRIPE_BILLING_METER_ID: ${{ vars.STRIPE_BILLING_METER_ID }}
STRIPE_BILLING_METER_EVENT_NAME: ${{ vars.STRIPE_BILLING_METER_EVENT_NAME }}