
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
@form8ion/github-workflows-core
Advanced tools
core functionality for form8ion plugins that manage github workflows
core functionality for form8ion plugins that manage github workflows
$ npm install @form8ion/github-workflows-core --save-prod
import {
scaffoldCheckoutStep,
scaffoldNodeSetupStep,
scaffoldDependencyInstallationStep,
scaffoldVerificationStep,
loadWorkflowFile,
writeWorkflowFile,
workflowFileExists,
renameWorkflowFile
} from '@form8ion/github-workflows-core';
const projectRoot = process.cwd();
(async () => {
scaffoldCheckoutStep();
scaffoldNodeSetupStep({versionDeterminedBy: 'nvmrc'});
scaffoldDependencyInstallationStep();
scaffoldVerificationStep();
if (await workflowFileExists({projectRoot, name: 'existing-workflow-name'})) {
await loadWorkflowFile({projectRoot, name: 'existing-workflow-name'});
}
await writeWorkflowFile({projectRoot, name: 'workflow-name', config: {}});
await renameWorkflowFile({projectRoot, oldName: 'existing-workflow-name', newName: 'new-workflow-name'});
})();
scaffoldCheckoutStepScaffolder to define the details for a step to check out the project in a GitHub workflow
scaffoldNodeSetupStepScaffolder to define the details for a step to set up a node.js environment in a GitHub workflow
Takes a single options object as an argument, containing:
versionDeterminedBy string (required)Source of node version for use in the configured step. Valid options are nvmrc
or matrix
scaffoldDependencyInstallationStepScaffolder to define the details for a step to install dependencies in a GitHub workflow
scaffoldVerificationStepScaffolder to define the details for a step to execute verification
$ nvm install
$ npm install
$ npm test
FAQs
core functionality for form8ion plugins that manage github workflows
The npm package @form8ion/github-workflows-core receives a total of 396 weekly downloads. As such, @form8ion/github-workflows-core popularity was classified as not popular.
We found that @form8ion/github-workflows-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.