Skip to content

Nodejs package that parses the StrawCI project configuration file.

Notifications You must be signed in to change notification settings

strawci/node-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍓 StrawCI Parser

This package fulfills the function of parsing the secret.yml and strawci.yml configuration files and obtaining all the actions that will be executed on the deployment server.

👷 Constructor

const Parser = require("@strawci/parser");
const parser = new Parser("path of .strawci directory");

📝 Action Getters

// Get list of project dependencies
parser.getDependencies();

// Get list of initial actions
parser.getInitionActions();

// Get list of actions to be executed for an specific branch
parser.getBranchActions("main");

🔒 Secret Getters

// Get Project ID
parser.getProjectID();

// Get Deploy Key
parser.getDeployKey();

❤️ The End

Made with Love by Sammwy

About

Nodejs package that parses the StrawCI project configuration file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published