Every time I tried deploying to npm after a successfull build, the project get deployed to npm successfully but the build still fails when dpl ruby tries to unlink C:/Users/travis/.npmrc
file.
the travis build file is https://github.com/quickutils/language-colors/blob/master/.travis.yml
The error log below.
C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:1437:in `unlink': Permission denied @ apply2files - C:/Users/travis/.npmrc (Errno::EACCES)
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:1437:in `block in remove_file'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:1445:in `platform_support'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:1436:in `remove_file'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:775:in `remove_file'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:562:in `block in rm'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:561:in `each'
from C:/tools/ruby26/lib/ruby/2.6.0/fileutils.rb:561:in `rm'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-npm-1.10.14/lib/dpl/provider/npm.rb:36:in `push_app'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/lib/dpl/provider.rb:199:in `block in deploy'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/lib/dpl/cli.rb:41:in `fold'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/lib/dpl/provider.rb:199:in `deploy'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/lib/dpl/cli.rb:32:in `run'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/lib/dpl/cli.rb:7:in `run'
from C:/tools/ruby26/lib/ruby/gems/2.6.0/gems/dpl-1.10.14/bin/dpl:5:in `<top (required)>'
from C:/tools/ruby26/bin/dpl:23:in `load'
from C:/tools/ruby26/bin/dpl:23:in `<main>'