Skip to content

Commit 30dc47d

Browse files
authored
Merge pull request #3954 from cdr/jsjoeio-add-npmignore
fix: add symlink to npmignore
2 parents cee0e85 + bffb009 commit 30dc47d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/steps/publish-npm.sh

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ main() {
2020
download_artifact npm-package ./release-npm-package
2121
# https://github.com/actions/upload-artifact/issues/38
2222
tar -xzf release-npm-package/package.tar.gz
23+
24+
# Ignore symlink when publishing npm package
25+
# See: https://github.com/cdr/code-server/pull/3935
26+
echo "node_modules.asar" > release/.npmignore
2327
yarn publish --non-interactive release
2428
}
2529

0 commit comments

Comments
 (0)