Skip to content

Node Automatic Release

Actions
Automatically generate a new release for your node project when the version in your package.json changes
v1.2.0
Latest
By aynp
Star (4)

Node Automatic Release

Automatically generate a new release for your node project when the version in your package.json changes.

Marketplace Link - node-automatic-release

Usage

Here is a sample workflow -

name: Automatic Release

on:
  # When a change is pushed to package.json in main branch
  push:
    branches: ['main']
    paths: ['package.json']
  # Manual run
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      # Required to access package.json
      - name: Checkout
        uses: actions/checkout@v3

      - name: Update Release
        uses: aynp/node-automatic-release@v1.1.0
        with:
          draft_release: false
          generate_release_notes: true

Inputs

  • draft_release - true to create a draft (unpublished) release, false to create a published one

  • generate_release_notes - true to generate release notes from the commit messages, false otherwise.

Publishing to NPM

This action can be used with Publishing packages to the npm registry guide or the default Publish Node.js Package workflow template by GitHub to automatically publish to NPM when version in package.json changes.

You can read more about it here - automatic-npm-publish

Node Automatic Release 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

Automatically generate a new release for your node project when the version in your package.json changes
v1.2.0
Latest
By aynp

Node Automatic Release 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.