Skip to content

Commit 94fe16d

Browse files
Update @malloydata packages to 0.0.420 (#249)
* Update @malloydata packages to 0.0.420; externalize pg-native @malloydata/db-postgres pins pg to exact 8.7.3, whose lib/native/client.js does a bare `require('pg-native')` that esbuild cannot resolve (pg-native is an optional native client, not installed). Newer pg wraps that require in a try/catch esbuild treats as optional, but the pin holds the pre-guard version. Mark pg-native external (as the vscode extension already does) so esbuild leaves the lazy require for runtime. Upstream context: malloydata/malloy#2928. * ci: read Node version from .node-version instead of floating 24.x CI set `node-version: 24.x` / '24', ignoring the committed .node-version (24.16.0), so it ran Node 24.17+ whose http.Agent keep-alive regression makes Google OAuth fail with "Premature close" — flaking the live BigQuery tests. Point setup-node at .node-version (test + publish workflows) so CI honors the pin. Mirrors malloydata/malloy#2949.
1 parent f98f73d commit 94fe16d

5 files changed

Lines changed: 160 additions & 200 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: actions/setup-node@v6
3131
with:
32-
node-version: '24'
32+
node-version-file: '.node-version'
3333
- name: Upgrade npm for trusted publishing (OIDC)
3434
run: npm install -g npm@latest
3535

@@ -98,7 +98,7 @@ jobs:
9898

9999
- uses: actions/setup-node@v6
100100
with:
101-
node-version: '24'
101+
node-version-file: '.node-version'
102102
- name: Upgrade npm for trusted publishing (OIDC)
103103
run: npm install -g npm@latest
104104

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Use Node.js
3131
uses: actions/setup-node@v6
3232
with:
33-
node-version: 24.x
33+
node-version-file: '.node-version'
3434
- name: Install
3535
run: npm ci --loglevel error
3636
- name: Build and Test

0 commit comments

Comments
 (0)