Skip to content

Commit 1eed8cc

Browse files
committed
chore: clean cache on publish npm
1 parent f5a1e3a commit 1eed8cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/steps/publish-npm.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ main() {
150150
return
151151
fi
152152

153+
# NOTE@jsjoeio
154+
# There's a strange issue happening with npm complaining
155+
# about the package. This should fix that.
156+
# Source: https://stackoverflow.com/a/66428125/3015595
157+
yarn cache clean --force
158+
153159
# NOTE@jsjoeio
154160
# Since the dev builds are scoped to @coder
155161
# We pass --access public to ensure npm knows it's not private.

0 commit comments

Comments
 (0)