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
19 changes: 5 additions & 14 deletions .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "24"
- uses: actions-rust-lang/setup-rust-toolchain@ac90e63697ac2784f4ecfe2964e1a285c304003a # v1
with:
target: wasm32-unknown-unknown
cache-key: test-ubuntu-copilot-setup-steps
- name: Install wasm-bindgen
uses: taiki-e/install-action@14083e64ac8cf1f5e54356df00b9779b23e192a1 # v2
with:
Expand All @@ -41,22 +45,9 @@ jobs:
- name: Build
id: build
run: |
pnpm turbo build --summarize
pnpm turbo build --filter !benchx_cli --filter "!@lynx-js/benchmark-*" --summarize
env:
NODE_OPTIONS: --max-old-space-size=6144
continue-on-error: true
- name: Setup Rust and retry build if failed
if: steps.build.outcome == 'failure'
uses: actions-rust-lang/setup-rust-toolchain@ac90e63697ac2784f4ecfe2964e1a285c304003a # v1
with:
target: wasm32-unknown-unknown
cache-key: test-ubuntu-copilot-setup-steps
- name: Retry Build
if: steps.build.outcome == 'failure'
run: |
pnpm turbo build --summarize
env:
NODE_OPTIONS: --max-old-space-size=32768
- name: Test essential runtime dependencies
run: |
pnpm dprint fmt
Expand Down
6 changes: 4 additions & 2 deletions .github/copilot-instructions.md → AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lynx Stack - Copilot Coding Agent Instructions
# Lynx Stack

This repository contains the **core JavaScript stack** of Lynx, including ReactLynx, Rspeedy, Lynx for Web, and testing utilities. This document provides essential information for coding agents to work efficiently with this codebase.

Expand All @@ -19,6 +19,8 @@ This repository contains the **core JavaScript stack** of Lynx, including ReactL

```bash
# Install dependencies (required first)
npm install -g corepack
corepack enable
pnpm install --frozen-lockfile

# Verify toolchain
Expand All @@ -33,7 +35,7 @@ rustc --version # Required for native bindings
# Full build (REQUIRED before running tests)
pnpm turbo build

# Development build with watching (TypeScript only)
# Development build with watching
pnpm turbo watch build
```

Expand Down
Loading