fix(aft): auto-run LSP patch on server startup for npm v11 compatibility #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [fork/local] | |
| pull_request: | |
| branches: [fork/local] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: false | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Configure submodule credentials | |
| run: | | |
| if [ -n "${{ secrets.SUBMODULE_PAT }}" ]; then | |
| git config --global url."https://${{ secrets.SUBMODULE_PAT }}@github.com/rustybret/pvrdrxtd".insteadOf \ | |
| "https://github.com/rustybret/pvrdrxtd" | |
| fi | |
| git submodule update --init --recursive 2>&1 || true | |
| - uses: ./.github/actions/setup-bun | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Build Single Binary | |
| run: ./packages/opencode/script/build.ts --single |