Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/publish-datatype-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ jobs:
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
# datatype-parser is an npm workspace package, so install the whole
# workspace from the repo root (overriding this job's package-dir
# default). A scoped `npm ci` from the package dir still fires the root
# lifecycle scripts (postinstall/parquet-wasm, prepare/husky) but
# without their dev-only devDependencies, which breaks the install. The
# remaining steps run from packages/datatype-parser as usual.
working-directory: ${{ github.workspace }}
run: npm ci

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"test:web:all": "TEST_MODE=all vitest -c vitest.web.config.ts",
"test:web:coverage": "VITEST_COVERAGE=true TEST_MODE=all vitest -c vitest.web.config.ts",
"//": "See https://github.com/kylebarron/parquet-wasm/issues/798",
"postinstall": "cd node_modules/parquet-wasm 2>/dev/null && npm pkg delete type || true",
"postinstall": "cd node_modules/parquet-wasm && npm pkg delete type",
"prepare": "husky"
},
"devDependencies": {
Expand Down
Loading