Usage no npm install needed!

<script type="module">
  import semcelikGithubActionPlayground from 'https://cdn.skypack.dev/@semcelik/github-action-playground';



this project contains some github action workflows as a playground for myself

workflow samples


(on push master)

  • Bumps version if merged pull request's commit message contains PATCH, MINOR, MAJOR prefix
  • Creates a tag due if version is bumped
  • Creates a release if new tag is generated

Notes: It uses Github's Personal Access Token due to trigger publish-to-npm workflow. Here is why


(on create new release)

  • Install dependencies (uses @actions/cache to restore it from previous run)
  • Create build and publishes to NPM

Notes: It uses NPM_AUTH_TOKEN due to publish without login