test: include optional deps

to include zstd binary
This commit is contained in:
MDLeom 2024-06-06 11:41:34 +00:00
parent 7f2033e553
commit 18a5d8108b
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
key: ${{ runner.os }}-npm-cache
restore-keys: ${{ runner.os }}-npm-cache
- name: Install Dependencies
run: npm install
run: npm install --include=optional
- name: Test
run: npm run test
env:

View File

@ -217,6 +217,10 @@ minify:
- **globOptions** - See [globbing](#globbing) section.
- **level** - Compression level. Range `1-22`. Defaults to `3`, or the value of [`DEFAULT_LEVEL`](https://github.com/mongodb-js/zstd/blob/a3a08c61c9045411c8275e248498dbc583457fb5/src/lib.rs#L9)
### Cannot find module '@mongodb-js/zstd-linux-x64-gnu'
`npm install --include=optional`
## XML
Remove whitespaces in xml.