The suite never ran in CI

The CI job built the code but never ran the tests. This adds one step — npm test after npm run compile — and updates the job name. The node:test suite needs no VS Code and no network, so there's nothing else to wire up.

The check job: ci -> compile -> test.

.github/workflows/ci.yml · 32 lines
.github/workflows/ci.yml32 lines · YAML
⋯ 15 lines hidden (lines 1–15)
1name: CI
2 
3on:
4 push:
5 branches: [main]
6 pull_request:
7 
8# Cancel superseded runs on the same ref to save CI minutes.
9concurrency:
10 group: ci-${{ github.ref }}
11 cancel-in-progress: true
12 
13permissions:
14 contents: read
15 
16jobs:
17 check:
18 name: check (types · lint · build · test)
19 runs-on: ubuntu-latest
20 steps:
21 - uses: actions/checkout@v4
22 - uses: actions/setup-node@v4
23 with:
24 node-version: "22"
25 cache: npm
26 # npm ci installs the committed lockfile exactly; `compile` runs
27 # tsc --noEmit + eslint + the esbuild bundle. `test` runs the node:test
28 # suite (no VS Code, no network). The @vscode/test-electron suite needs a
29 # headless VS Code (xvfb) and is left out of the oracle.
30 - run: npm ci
31 - run: npm run compile
32 - run: npm test