From 179d9882aaa19442d0804dcefb515ccb2dd11e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ramner=C3=B6?= Date: Fri, 5 Jun 2026 15:43:46 +0200 Subject: [PATCH 1/3] Update ci.yml jobs failed due to Unix domain socket path becoming too long --- .github/workflows/ci.yml | 89 ++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0150a7..3a4fd3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,53 +11,64 @@ jobs: node-version: [18.x, 20.x] steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 + with: + path: src - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + cache-dependency-path: src/package-lock.json - - name: Install dependencies - run: npm ci + - name: Install dependencies + working-directory: src + run: npm ci - - name: Run linting - run: npm run lint + - name: Run linting + working-directory: src + run: npm run lint - - name: Compile TypeScript - run: npm run compile + - name: Compile TypeScript + working-directory: src + run: npm run compile - - name: Run tests - uses: coactions/setup-xvfb@v1 - with: - run: npm test + - name: Run tests + uses: coactions/setup-xvfb@v1 + with: + run: cd src && npm test package: runs-on: ubuntu-latest needs: test steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20.x' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Package extension - run: | - npm install -g @vscode/vsce - vsce package - - - name: Upload VSIX artifact - uses: actions/upload-artifact@v4 - with: - name: vscode-extension - path: '*.vsix' + - name: Checkout code + uses: actions/checkout@v4 + with: + path: src + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: npm + cache-dependency-path: src/package-lock.json + + - name: Install dependencies + working-directory: src + run: npm ci + + - name: Package extension + working-directory: src + run: | + npm install -g @vscode/vsce + vsce package + + - name: Upload VSIX artifact + uses: actions/upload-artifact@v4 + with: + name: vscode-extension + path: src/*.vsix From 2d883b8d8106517349353171a4d3a92b4422a2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ramner=C3=B6?= Date: Fri, 5 Jun 2026 15:47:17 +0200 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4fd3f..3db2b07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,8 @@ jobs: - name: Run tests uses: coactions/setup-xvfb@v1 with: - run: cd src && npm test + run: npm test + working-directory: src package: runs-on: ubuntu-latest From 72868a9f81c6bb7efc7091482d4e71642eadbad9 Mon Sep 17 00:00:00 2001 From: davidramnero Date: Fri, 5 Jun 2026 15:53:56 +0200 Subject: [PATCH 3/3] try updating vscode-test.mjs --- .vscode-test.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode-test.mjs b/.vscode-test.mjs index b62ba25..2097458 100644 --- a/.vscode-test.mjs +++ b/.vscode-test.mjs @@ -2,4 +2,9 @@ import { defineConfig } from '@vscode/test-cli'; export default defineConfig({ files: 'out/test/**/*.test.js', -}); + + launchArgs: [ + '--user-data-dir', + '/tmp/vscode-test' + ] +}); \ No newline at end of file