Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,20 +295,20 @@ jobs:
if [ "$RELEASE_TYPE" = "snapshot" ]; then
if [ "$RUNNER_OS" = "Windows" ]; then
echo "Building Windows snapshot..."
echo "Running: pnpm core:build:snapshot:win"
pnpm core:build:snapshot:win || {
echo "Running: pnpm build:snapshot:win"
pnpm build:snapshot:win || {
BUILD_FAILED=true
echo "ERROR: Windows snapshot build failed with exit code $?"
}
elif [ "$RUNNER_OS" = "macOS" ]; then
echo "Building macOS snapshot..."
SKIP_INSTALL_APP_DEPS=true pnpm core:build:snapshot:mac || {
SKIP_INSTALL_APP_DEPS=true pnpm build:snapshot:mac || {
BUILD_FAILED=true
echo "ERROR: macOS snapshot build failed with exit code $?"
}
else
echo "Building Linux snapshot..."
pnpm core:build:snapshot:linux || {
pnpm build:snapshot:linux || {
BUILD_FAILED=true
echo "ERROR: Linux snapshot build failed with exit code $?"
}
Expand All @@ -317,19 +317,19 @@ jobs:
echo "Building release version..."
if [ "$RUNNER_OS" = "Windows" ]; then
echo "Building Windows release..."
pnpm core:build:release:win || {
pnpm build:release:win || {
BUILD_FAILED=true
echo "ERROR: Windows release build failed with exit code $?"
}
elif [ "$RUNNER_OS" = "macOS" ]; then
echo "Building macOS release..."
SKIP_INSTALL_APP_DEPS=true pnpm core:build:release:mac || {
SKIP_INSTALL_APP_DEPS=true pnpm build:release:mac || {
BUILD_FAILED=true
echo "ERROR: macOS release build failed with exit code $?"
}
else
echo "Building Linux release..."
pnpm core:build:release:linux || {
pnpm build:release:linux || {
BUILD_FAILED=true
echo "ERROR: Linux release build failed with exit code $?"
}
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,30 @@ jobs:

- name: Lint markdown
run: npx markdownlint-cli ${{ needs.job1.outputs.markdown_files }} --ignore node_modules

job_typecheck:
name: Typecheck
runs-on: ubuntu-latest
needs: job1
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.16.0
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run typecheck
run: pnpm typecheck
Loading
Loading