Update Stripe CLI command and key adjustments in line item components

The Stripe CLI command in the workflow file has been updated to use Docker. Additionally, the keys for line-item-details.tsx have been modified, changing item.id and tier.upTo to index to avoid potential key duplication issues within the same component.
This commit is contained in:
giancarlo
2024-04-15 16:31:22 +08:00
parent 2927d9980b
commit 002d252f36
2 changed files with 4 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ jobs:
- name: Stripe CLI
run: |
pnpm run stripe:listen &
docker run --add-host=host.docker.internal:host-gateway --rm -it --name=stripe -d stripe/stripe-cli:latest listen --forward-to http://host.docker.internal:3000/api/billing/webhook --skip-verify --api-key "$STRIPE_SECRET_KEY" --log-level debug &
- name: Production Build (test env)
run: pnpm --filter web build:test