diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de7cec3..b42984c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,5 +47,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "npm" - - run: npm --prefix integration/${{ matrix.suite }} ci --omit=dev - - run: npm --prefix integration/${{ matrix.suite }} test + # Build a production tarball and run the integration tests against it. + - run: | + PKG_TARBALL=$(npm --loglevel error pack) + npm --prefix integration/${{ matrix.suite }} install "file:/./$PKG_TARBALL" + npm --prefix integration/${{ matrix.suite }} test diff --git a/package.json b/package.json index ca06b8b..d0d77fb 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,16 @@ "license": "Apache-2.0", "main": "index.js", "type": "commonjs", + "types": "index.d.ts", + "files": [ + "CONTRIBUTING.md", + "LICENSE", + "README.md", + "index.d.ts", + "index.js", + "lib/**/*.js", + "package.json" + ], "engines": { "node": ">=18.0.0", "npm": ">=7.19.0",