chore: bump @vscode/extension-telemetry to 1.5.2 #212
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: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # Node 22+ required for lint-staged v17 (needs >= 22.22.1). | |
| # VS Code 1.95+ compatibility is unaffected — the compiled .vsix runs | |
| # inside VS Code's own Node host, not the CI build environment. | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build and Lint | |
| # 'compile' script runs: check-types && lint && node esbuild.js | |
| run: npm run compile | |
| - name: Test | |
| if: runner.os == 'Linux' # vscode-test requires a display server or xvfb on Linux, skipping for simple CI for now or strictly running unit tests | |
| run: echo "Skipping UI tests in headless CI for now" |