Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# .github/workflows/typecheck.yml
name: Typecheck

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.workflow is the caller workflow name inside a reusable workflow. Here it resolves to CI, which collides case-insensitively with the caller's ci-${{ github.ref }} group in ci.yml; with cancellation enabled this cancels the caller as the child starts. Use a distinct literal prefix such as typecheck-${{ github.ref }}.

cancel-in-progress: true

on:
workflow_call:

jobs:
typecheck:
name: Check TypeScript
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
package:
Expand Down Expand Up @@ -37,6 +42,7 @@ jobs:
desktop-build:
name: Build desktop app
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
Expand All @@ -48,4 +54,4 @@ jobs:
- uses: ./.github/actions/retry
with:
command: npm ci
- run: npm run --prefix apps/desktop build
- run: npm run --prefix apps/desktop build