fix(claude-usage): scope cache by organization id #1860
ci.yml
on: pull_request
Matrix: Build
Lint
18s
Typecheck
25s
Test
2m 2s
Native Swift Test & Xcode Build
Docs Build
i18n
6s
CI Summary
2s
Annotations
3 errors and 11 warnings
|
Test
Process completed with exit code 1.
|
|
src/pages/popup/__tests__/releaseArtifacts.test.ts > release artifacts > announces full Safari support without restoring obsolete image limitations:
src/pages/popup/__tests__/releaseArtifacts.test.ts#L54
AssertionError: expected 'name: Release\nrun-name: >\n ${{\n …' to contain '🍎✨ Safari 正式支持!'
- Expected
+ Received
- 🍎✨ Safari 正式支持!
+ name: Release
+ run-name: >
+ ${{
+ (github.event_name == 'workflow_dispatch' && inputs.publish_firefox_only && inputs.version && format('Firefox hotfix {0}', inputs.version)) ||
+ (github.event_name == 'workflow_dispatch' && inputs.version && format('chore(release): v{0}', inputs.version)) ||
+ (github.event_name == 'workflow_dispatch' && !inputs.version && 'chore(release): auto-increment') ||
+ (startsWith(github.ref, 'refs/tags/') && format('Release {0}', github.ref_name)) ||
+ format('Release #{0}', github.run_number)
+ }}
+
+ # 🚀 Release Workflow Guide
+ # -------------------------
+ # This workflow supports two modes of operation:
+ #
+ # 1. Manual Release (Only for an Already-Prepared Release)
+ # - How: Go to "Actions" -> "Release" -> "Run workflow".
+ # - Input: Optional "Version" (e.g., 1.2.0). If left empty, it auto-increments the patch version.
+ # - Requirement: The target version's 10-locale in-product changelog must already be committed.
+ # This workflow can bump and tag, but it does not author changelog content.
+ # - What it does:
+ # 1. Calculates the next version.
+ # 2. Bumps the web manifests and Xcode app/extension versions together.
+ # 3. Commits "chore(release): vX.Y.Z".
+ # 4. Creates git tag "vX.Y.Z".
+ # 5. Pushes commit & tag to main.
+ # 6. Builds artifacts and creates a GitHub Release.
+ #
+ # 2. Tag-based Release (Manual Tagging)
+ # - How: run `git commit -m "..." && git tag v1.2.0 && git push origin v1.2.0` locally.
+ # - What it does:
+ # 1. Detects the pushed tag (v1.2.0).
+ # 2. SKIPS version calculation and bumping (assumes you already did it).
+ # 3. Builds artifacts from that tag.
+ # 4. Creates a GitHub Release for that tag.
+
+ on:
+ push:
+ tags:
+ - 'v*'
+ workflow_dispatch:
+ inputs:
+ version:
+ description: 'Version to release (e.g. 1.0.8) - leave empty to auto-increment patch version'
+ required: false
+ type: string
+ notes:
+ description: 'Release notes (optional)'
+ required: false
+ type: string
+ publish_only:
+ description: 'Only re-publish an existing release to the Chrome Web Store (no bump/build). Requires version.'
+ required: false
+ type: boolean
+ default: false
+ publish_edge_only:
+ description: 'Only publish an existing release package to Microsoft Edge Add-ons (no bump/build). Requires version.'
+ required: false
+ type: boolean
+ default: false
+ publish_firefox_only:
+ description: 'Build and publish a Firefox-only four-part hotfix from main (for example 1.6.0.1). Requires version.'
+ required: false
+ type: boolean
+ default: false
+
+ permissions:
+ contents: read
+
+ concurrency:
+ group: release
+ cancel-in-progress: false
+
+ env:
+ BUN_VERSION: '1.3.12'
+
+ jobs:
+ # Job 1: Calculate & Bump Version (Only runs on manual trigger)
+ bump-version:
+ if: >-
+ github.event_name == 'workflow_dispatch' &&
+ github.ref == 'refs/heads/main' &&
+ !inputs.publish_only &&
+ !inputs.publish_edge_only &&
+ !inputs.publish_firefox_only
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ outputs:
+ new_version: ${{ steps.next_version.outputs.version }}
+ tag_name: ${{ steps.tag.outputs.name }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Setup Node
+ uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
+ with:
+ node-version: '20'
+
+ - name: Calculate next version
+ id: next_version
+ e
|
|
CI Summary
Process completed with exit code 1.
|
|
Changes
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Changes
Unexpected input(s) 'predicate-quantifier', valid inputs are ['token', 'working-directory', 'ref', 'base', 'filters', 'list-files', 'initial-fetch-depth']
|
|
i18n
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (safari)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (firefox)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (chrome)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build (edge)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Format
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Typecheck
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|