@stephansama/types-github-action-env
v1.0.0
Published
environment variable types for GitHub Action environment
Maintainers
Readme
@stephansama/types-github-action-env
Additional environment variable types for GitHub CI
Installation
To use these type definitions, add the package to your devDependencies:
pnpm install --save-dev @stephansama/types-github-action-envUsage
In order to enable the GitHub environment variables into your local scope you can either add the following to your tsconfig.json
{
"compilerOptions": {
"types": ["@stephansama/types-github-action-env"]
}
}or add the following reference to any typescript file
/// <reference types="@stephansama/types-github-action-env" />🎉 Now you have access to GitHub environment variables in your TypeScript files!
