action-nx-command-wrapper
v0.0.16
Published
Nx command wrapper for @dkhunt27/action-nx-command
Downloads
78
Readme
Nx command wrapper for @dkhunt27/action-nx-command
Usage
Install dependencies and run scripts:
# first setup node using nodeenv; not necessary if already have node v20+ installed
brew install nodeenv
nodeenv .node
npm install
npm run lint
npm run test
npm run buildNode usage:
import { runNx, type NxCommandInputs } from "action-nx-command-wrapper";
const inputs: NxCommandInputs = {
command: 'targetedAffected',
affectedToIgnore: [],
args: [],
baseBoundaryOverride: '',
headBoundaryOverride: '',
isWorkflowsCiPipeline: false,
projects: [],
setNxBranchToPrNumber: false,
targets: [],
workingDirectory: '',
};
await runNx(inputs);Releasing
- Merge the automated Release PR created by Release Please
- Manually run the "Release" workflow to publish to npm and JSR with provenance
Template
Started with ts-base
