diff --git a/.changeset/metal-badgers-chew.md b/.changeset/metal-badgers-chew.md new file mode 100644 index 0000000000..57d60b78f3 --- /dev/null +++ b/.changeset/metal-badgers-chew.md @@ -0,0 +1,5 @@ +--- +'@gitbook/react-openapi': patch +--- + +Bump @scalar/api-client-react version diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f7d4c52cc8..0bd5c4d369 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: checks: write statuses: write outputs: - deployment_url: ${{ steps.deploy.outputs.url }} + deployment_url: ${{ steps.deploy.outputs.deployment-url }} steps: - name: Checkout uses: actions/checkout@v4 @@ -58,7 +58,7 @@ jobs: SENTRY_DSN: ${{ vars.SENTRY_DSN }} - id: deploy name: Deploy to Cloudflare - uses: cloudflare/wrangler-action@v3 + uses: cloudflare/wrangler-action@v3.11.0 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} @@ -67,7 +67,7 @@ jobs: command: pages deploy ./packages/gitbook/.vercel/output/static --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --branch=${{ github.ref == 'refs/heads/main' && 'main' || format('pr{0}', github.event.pull_request.number) }} - name: Outputs run: | - echo "URL: ${{ steps.deploy.outputs.url }}" + echo "URL: ${{ steps.deploy.outputs.deployment-url }}" echo "Alias URL: ${{ steps.deploy.outputs.deployment-alias-url }}" - name: Archive build output uses: actions/upload-artifact@v4 @@ -77,12 +77,12 @@ jobs: # Until https://github.com/cloudflare/wrangler-action/issues/301 is done - name: Update Deployment Status to Success env: - DEPLOYMENT_URL: ${{ steps.deploy.outputs.url }} + DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }} run: | curl -X POST \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ - -d '{"state": "success", "target_url": "${{ steps.deploy.outputs.url }}", "description": "Deployed Preview URL for commit", "context": "cloudflare/preview"}' \ + -d '{"state": "success", "target_url": "${{ steps.deploy.outputs.deployment-url }}", "description": "Deployed Preview URL for commit", "context": "cloudflare/preview"}' \ https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} - name: Find GitHub Comment @@ -102,8 +102,8 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: | **GitBook Preview** - Latest commit: [${{ steps.deploy.outputs.url }}](${{ steps.deploy.outputs.url }}) - PR: [${{ steps.deploy.outputs.alias }}](${{ steps.deploy.outputs.alias }}) + Latest commit: [${{ steps.deploy.outputs.deployment-url }}](${{ steps.deploy.outputs.deployment-url }}) + PR: [${{ steps.deploy.outputs.deployment-alias-url }}](${{ steps.deploy.outputs.deployment-alias-url }}) edit-mode: replace visual-testing: runs-on: ubuntu-latest diff --git a/bun.lockb b/bun.lockb index e8e2b84b6e..7b67f0ca63 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/react-openapi/package.json b/packages/react-openapi/package.json index 209570f1b2..e211fce1e1 100644 --- a/packages/react-openapi/package.json +++ b/packages/react-openapi/package.json @@ -10,7 +10,7 @@ }, "version": "0.7.0", "dependencies": { - "@scalar/api-client-react": "1.0.65", + "@scalar/api-client-react": "1.0.72", "classnames": "^2.5.1", "flatted": "^3.2.9", "openapi-types": "^12.1.3",