Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

npm publish is broken on travis #8

Open
stdavis opened this issue Jun 19, 2018 · 3 comments
Open

npm publish is broken on travis #8

stdavis opened this issue Jun 19, 2018 · 3 comments
Labels

Comments

@stdavis
Copy link
Member

stdavis commented Jun 19, 2018

https://travis-ci.com/agrc-widgets/map-tools/builds/76725433
image

@stdavis stdavis added the bug label Jun 19, 2018
@steveoh
Copy link
Member

steveoh commented Jun 19, 2018

Looks like you need to npm install before you call grunt

@stdavis
Copy link
Member Author

stdavis commented Jun 19, 2018

Ya, but that's already done at the beginning of the build. It uses grunt to run the tests, lint, etc. But is the publish a clean slate or something?

@steveoh
Copy link
Member

steveoh commented Jun 20, 2018

https://docs.npmjs.com/misc/scripts

prepublish: Run BEFORE the package is packed and published, as well as on local npm install without any arguments. (See below)

The wording there is confusing. Maybe a different point is better suited?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants