Skip to content

Commit a1c9b3c

Browse files
committed
ci
1 parent 569af4f commit a1c9b3c

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,16 @@ jobs:
5252
run: pnpm install
5353

5454
- name: Build WASM 🏗
55-
run: pnpm run build
55+
run: |
56+
if [ "${{ matrix.package.name }}" = "v13" ]; then
57+
# Download prebuilt WASM for v13 since it can't build in CI
58+
mkdir -p wasm
59+
curl -o v13.tgz "https://registry.npmjs.org/@libpg-query/v13/-/v13-13.0.0.tgz"
60+
tar -xzf v13.tgz --strip-components=1 package/wasm
61+
rm v13.tgz
62+
else
63+
pnpm run build
64+
fi
5665
working-directory: ${{ matrix.package.path }}
5766

5867
- name: Upload WASM Artifacts 📦

types/17/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@pgsql/types",
2+
"name": "@libpg-query/types17",
33
"version": "17.4.2",
44
"author": "Dan Lynch <pyramation@gmail.com>",
5-
"description": "PostgreSQL AST types for pgsql-parser",
5+
"description": "PostgreSQL AST types from the real Postgres parser",
66
"main": "index.js",
77
"module": "esm/index.js",
88
"types": "index.d.ts",
@@ -19,6 +19,10 @@
1919
"bugs": {
2020
"url": "https://github.com/launchql/libpg-query-node/issues"
2121
},
22+
"x-publish": {
23+
"publishName": "@pgsql/types",
24+
"distTag": "pg17"
25+
},
2226
"scripts": {
2327
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",
2428
"clean": "rimraf dist",

0 commit comments

Comments
 (0)