diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-01-16 10:04:55 +0300 |
---|---|---|
committer | Michael Perrotte <mike@npmjs.com> | 2020-01-22 00:41:29 +0300 |
commit | 88cfb889383b8f139aa16812fb787287364bbaee (patch) | |
tree | 05fbb91a5b00875022e02dea8ce456e24c4b65ec /scripts | |
parent | ac3739fe86077c2034a3d42e3107c2abcb23458f (diff) |
chore: fixes nodejs tests
- Fixes ability to run tests using an arbitrary node bin
- Fixes `make test-npm` in nodejs repo
- Added `tap-snapshots` folder
- Added required `.npmrc` root file
Fixes npm/statusboard#45
PR-URL: https://github.com/npm/cli/pull/696
Credit: @ruyadorno
Close: #696
Reviewed-by: @mikemimik
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/release.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index e071c7ede..31fb6fa19 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -12,6 +12,8 @@ node ./bin/npm-cli.js pack --loglevel error >/dev/null mv *.tgz release cd release tar xzf *.tgz +cp ../.npmrc package/ +cp -r ../tap-snapshots package/ cp -r ../test package/ mkdir node_modules |