Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.51 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.51 KB

GitHub Actions

This is a collection of GitHub Actions written to, hopefully, improve our workflows here at Emphori. To use them, simply reference the action that you wish to use with Emphori/actions/<name> in your workflow, and pass the environment variables or arguments where noted in the documentation below.

They're not listed on the GitHub Actions Marketplace, so please drop a star, or Tweet your successes if you find them useful! Happy hacking!

Semantic Release

An action to quickly incorporate the wonderful Semantic Release version management and publishing package into your workflow.

Usage

To use the Semantic Release action, add the following step at the end of your workflow (it should be placed after your build and any tests have been run).

steps:
  ...
- name: Release
  uses: Emphori/actions/semantic-release@c1bc665
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

The table below will explain the environment variable used.

Name Description
GITHUB_TOKEN GitHub authentication token (only personal access tokens are supported)
NPM_TOKEN NPM token (only the auth-only level of NPM's 2FA is supported)