New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appveyor-runner

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appveyor-runner

Run multiple node.js versions on one AppVeyor worker.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

appveyor-runner

Run multiple node.js versions on one AppVeyor worker.

Build status codecov Dependency Status devDependency Status

Installation

npm install --save-dev appveyor-runner

Usage

  1. Create file appveyor-runner.yml under project folder. Reference schema and example for file content.
  2. Write node_modules\.bin\appveyor-runner under test_script block in appveyor.yml file.

Schema

  • working_dir - The working directory to run scripts. Default to process.cwd() folder.
  • bin_dir - The directory to store the node.js binaries. Default to node_bin folder under working_dir.
  • log_dir - The directory to store execute ouput. Default to node_log folder under working_dir.
  • version - The target execute node.js version array. Semver versions are supported. Default is empty array.
  • script - The execute script array. The node_modules/.bin path is appended to PATH environment variable automatically. Default is empty script array.

For the directories, either relative or absolute path are OK. If it is relative path, it is resolved to appveyor-run.yml file directory.

Example

appveyor-runner.yml

working_dir: .\path\to\working_dir
bin_dir: C:\path\to\node_dir
log_dir: C:\path\to\log_dir

version:
  - 4.x
  - 6.x

script:
  - node --version
  - npm --version
  - npm run test

appveyor.yml

install:
  - npm -g install npm@3 && set PATH=%APPDATA%\npm;%PATH%
  - npm install

test_script:
  - node_modules\.bin\appveyor-runner

build: off

Limitation

  • The test cases must be run in different context. It means, two test cases cannot write to the same file. Use temporary file or folder to resolve this issue.
  • The project cannot use packages depending on node-gyp. The node-gyp package couples with specified node.js version. No effective solution is found for this issue.

Changelog

We use the Github release page to manage changelog.

License

MIT License.

Keywords

FAQs

Package last updated on 17 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc