Skip to content

fix(landing): fix Vercel build — copy install.sh to public, restore H… #43

fix(landing): fix Vercel build — copy install.sh to public, restore H…

fix(landing): fix Vercel build — copy install.sh to public, restore H… #43

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
env:
TURBO_TELEMETRY_DISABLED: 1
OPENLINEAR_SKIP_OPENCODE_DOWNLOAD: 1
jobs:
release-readiness:
name: Release Readiness
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Verify Arch package metadata
run: |
set -euo pipefail
bash ./scripts/sync-aur-metadata.sh
git diff --exit-code -- packaging/aur/openlinear-bin/PKGBUILD packaging/aur/openlinear-bin/.SRCINFO
- name: Build sidecar artifacts
run: bash ./scripts/build-sidecar.sh
- name: Typecheck desktop UI
run: pnpm --filter @openlinear/desktop-ui lint
- name: Build npm package
run: pnpm --filter ./packages/openlinear build
auto-release:
name: Auto Release
needs: release-readiness
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'release:')
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.RELEASE_PAT }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Bump version, commit, tag, and push
run: |
set -euo pipefail
bash ./scripts/bump-version.sh
NEXT=$(node -p "require('./packages/openlinear/package.json').version")
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "release: v${NEXT}"
git tag "v${NEXT}"
git push origin main --tags
- name: Trigger release workflow
env:
GH_TOKEN: ${{ secrets.RELEASE_PAT }}
run: gh workflow run release.yml -f tag="v$(node -p "require('./packages/openlinear/package.json').version")"