Skip to content

fix(formatter): correct printing comments for JSXAttributeValue (#1… #3

fix(formatter): correct printing comments for JSXAttributeValue (#1…

fix(formatter): correct printing comments for JSXAttributeValue (#1… #3

name: Copilot Setup Steps
# This workflow defines the setup steps that GitHub Copilot agents will use
# to prepare the development environment for the oxc project.
# It preinstalls tools and dependencies needed for Rust and Node.js development.
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
paths:
- .github/workflows/copilot-setup-steps.yml
push:
branches:
- main
paths:
- .github/workflows/copilot-setup-steps.yml
permissions: {}
jobs:
copilot-setup-steps:
name: Setup Development Environment for Copilot
runs-on: ubuntu-latest
steps:
# Checkout full repo for git history.
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: oxc-project/setup-rust@1ff88fdaffd6ae35c0fb32ccc159340b37d0beac # v1.0.7
with:
cache-key: warm
save-cache: false
tools: just,cargo-insta,typos-cli,cargo-shear,dprint,ast-grep
components: clippy rust-docs rustfmt rust-analyzer
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
- name: Restore dprint plugin cache
id: cache-restore
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
key: dprint-${{ hashFiles('dprint.json') }}
path: ~/.cache/dprint
- run: pnpm run --filter mcp-oxc build