Skip to content

NodeJS Project Information

Actions
Provides project information based on package.json
v0.0.21
Latest
Star (8)

Node.JS Project Information

Provide package.json - GitHub Action

This action provides the name, version and the content of package.json, so your workflow can access it.

License Issues

Code maintainability Code issues Code Technical Debt

Main Language Languages Code Size Repository Size

Features

  • TypeScript
  • Jest Unit Tests with Code Coverage
  • GitHub CI Integration (feature, development, master, release)
  • Code Quality via Code Climate
GitHub Coveralls
Release Build Release Version
Master Build Master Coverage Master Version
Development Build Test Coverage Development Version

Usage

    ...
    - name: nodejs project information
      id: projectinfo
      uses: gregoranders/[email protected]
    - name: create release action
      id: createrelease
      uses: gregoranders/[email protected]
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}
      with:
        tag: v${{ steps.projectinfo.outputs.version }}
        name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release
        target: ${{ github.ref }}
    ...

Inputs/Outputs

inputs:
  path:
    description: 'Path to package.json'
    required: false
    default: './package.json'
outputs:
  context:
    description: 'Serialized package.json'
  name:
    description: 'Project Name'
  version:
    description: 'Project Version'

NodeJS Project Information is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Provides project information based on package.json
v0.0.21
Latest

NodeJS Project Information is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.