
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
@temporalio/nyc-test-coverage
Advanced tools
@temporalio/nyc-test-coverageTemporal's TypeScript SDK interceptors and sinks for code coverage with nyc.
npm install mocha nycnyc instrument lib lib --in-place. Make sure you instrument your Workflow code after compiling it with tsc.import { WorkflowCoverage } from '@temporalio/nyc-test-coverage';
const workflowCoverage = new WorkflowCoverage();
worker = await Worker.create({
connection: nativeConnection,
taskQueue,
workflowsPath: require.resolve("./workflows"),
interceptors: {
workflowModules: [workflowCoverage.interceptorModule]
},
sinks: workflowCoverage.sinks,
});
mergeIntoGlobalCoverage() to merge your Workflows' code coverage into nyc's global coverage.after(() => {
workflowCoverage.mergeIntoGlobalCoverage();
});
For example, the following is a sample npm script that handles instrumenting and running tests.
The following assumes that npm run build produces compiled JavaScript in the lib directory.
{
"test.coverage": "npm run build && nyc instrument lib lib --in-place && nyc --reporter=lcov --reporter=text-summary mocha lib/*.test.js"
}
FAQs
Temporal.io SDK code coverage integration
The npm package @temporalio/nyc-test-coverage receives a total of 14,911 weekly downloads. As such, @temporalio/nyc-test-coverage popularity was classified as popular.
We found that @temporalio/nyc-test-coverage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.