Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 524 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 524 Bytes

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