@lbplayground/github-hello-world-oidc-test
v1.0.5
Published
A simple hello world utility for testing OIDC trusted publishers with GitHub Actions
Readme
GitHub Hello World OIDC Test
A simple Node.js utility for testing OIDC trusted publishers with GitHub Actions and npm.
Features
- Simple greeting functionality
- Environment information utilities
- ES modules support
- Basic test suite
Installation
npm install @lbplayground/github-hello-world-oidc-testUsage
Command Line
# Default greeting
npx @lbplayground/github-hello-world-oidc-test
# Custom greeting
npx @lbplayground/github-hello-world-oidc-test "npm team"Programmatic
import { createGreeting, formatMessage, getEnvironmentInfo } from '@lbplayground/github-hello-world-oidc-test/lib/greetings.js';
const greeting = createGreeting('World');
const formatted = formatMessage(greeting);
console.log(formatted);
const envInfo = getEnvironmentInfo();
console.log(envInfo);Development
# Run tests
npm test
# Run the application
npm startOIDC Testing
This package is specifically designed for testing OIDC trusted publishers with:
- GitHub Actions workflows
- npm package publishing
- Trusted publisher authentication
License
MIT
