neverendingqs / gh-action-tag-on-npm-version

Creates a new Git tag whenever the npm package version has changed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-action-tag-on-npm-version

Creates a new Git tag whenever the npm package version has changed. Works well with publish-me-maybe.

Example usage

name: Tag new npm package releases
on:
  push:
    branches:
      - master
    paths:
      - package.json
jobs:
  tag-npm-release:
    name: Tag new npm package releases
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: neverendingqs/gh-action-tag-on-npm-version@master

About

Creates a new Git tag whenever the npm package version has changed.

License:Apache License 2.0