Skip to content

nemerosa/ontrack-github-actions-module-install

Repository files navigation

ontrack-github-actions-module-install

Reusable JS module to download and configure the Yontrack CLI.

Installation

npm login --scope=@nemerosa --registry=https://npm.pkg.github.com
npm install @nemerosa/ontrack-github-actions-module-install

Use a GitHub token with the read:packages scope as a password.

Usage

const client = require('@nemerosa/ontrack-github-actions-module-install');

// Downloading and configuring the client using a known version (recommended)
const {dir} = client.install({
    version: '5.0.0',
    yontrackUrl: 'https://yontrack.example.com',
    yontrackToken: 'xxxx',
});

About

NPM module to download & install the Yontrack CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •