From 18a5d8108bd8ac0080a8244498ff3b5524ed5ad1 Mon Sep 17 00:00:00 2001 From: MDLeom <43627182+curbengh@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:41:34 +0000 Subject: [PATCH] test: include optional deps to include zstd binary --- .github/workflows/tester.yml | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 1c97a46..8ccbce9 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -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: diff --git a/README.md b/README.md index a0308f2..29fc259 100644 --- a/README.md +++ b/README.md @@ -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.