Nx command wrapper for @dkhunt27/action-nx-command
npm install action-nx-command-wrapperNx command wrapper for @dkhunt27/action-nx-command
Install dependencies and run scripts:
``bashfirst 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 build
`
Node usage:
`ts
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);
``
- Merge the automated Release PR created by Release Please
- Manually run the "Release" workflow to publish to npm and JSR with provenance
Started with ts-base