fix: add symlink to npmignore

This commit is contained in:
Joe Previte 2021-08-11 10:01:15 -07:00
parent cee0e85e5e
commit bffb009ecd
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -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
}