diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4c90e05..58de5ef 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -404,11 +404,11 @@ jobs: if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$"; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - npm publish --access public + npm publish elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+"; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - npm publish --tag next --access public + npm publish --tag next else echo "Not a release, skipping publish" fi diff --git a/package.json b/package.json index 93944cc..7d2d349 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,10 @@ ] } }, + "files": [ + "index.js", + "index.d.ts" + ], "license": "MIT", "devDependencies": { "@napi-rs/cli": "^2.18.2",