From bffb009ecd99fc7bb4eef84c82e034e9882675e5 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 11 Aug 2021 10:01:15 -0700 Subject: [PATCH] fix: add symlink to npmignore --- ci/steps/publish-npm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/steps/publish-npm.sh b/ci/steps/publish-npm.sh index ea65780d..0b3d8bd0 100755 --- a/ci/steps/publish-npm.sh +++ b/ci/steps/publish-npm.sh @@ -20,6 +20,10 @@ main() { download_artifact npm-package ./release-npm-package # https://github.com/actions/upload-artifact/issues/38 tar -xzf release-npm-package/package.tar.gz + + # Ignore symlink when publishing npm package + # See: https://github.com/cdr/code-server/pull/3935 + echo "node_modules.asar" > release/.npmignore yarn publish --non-interactive release }