GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update npm test tooling for 3.3.10+ · nodejs/node@e40d282

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • test-npm.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/test-npm.sh‎

Copy file name to clipboardExpand all lines: tools/test-npm.sh
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ export npm_config_tmp="$(pwd)/npm-tmp"
3030

3131
# ensure npm always uses the local node
3232
export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
33+
unset NODE
3334

35+
# make sure the binaries from the non-dev-deps are available
36+
node cli.js rebuild
3437
# install npm devDependencies and run npm's tests
35-
../$NODE cli.js install --ignore-scripts
36-
../$NODE test/run.js
37-
../$NODE cli.js run-script tap -- "test/tap/*.js"
38+
node cli.js install --ignore-scripts
39+
# run the tests
40+
node cli.js run-script test-node
3841

3942
# clean up everything one single shot
4043
cd .. && rm -rf test-npm

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.