Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.14 KB

actions

Actions and workflows to make GitHub Actions simpler, more robust and more efficient.

Actions

  • setup-node-env: Setups up Node, restores NPM cache and installs dependencies
  • publish-to-npm: Sets up Node, runs the prepublishOnly script and publishes the package to the NPM registry

Reusable workflows

  • js-checks: Run standard checks as linter, code formatter; then run tests against different Node versions

Usage

To use the actions and workflows in this repository, add a reference as follows:

# .github/workflows/example.yml

jobs:
  job-one:
    steps:
      # Uses the default branch
      - uses: bloq/actions/setup-node-env@master
      # Uses a specific version tag
      - uses: bloq/actions/[email protected]
  job-two:
    uses: bloq/.github/workflows/js-checks.yml@v1

See the GitHub Actions docs for details about how to use a public action and how to reference a reusable workflow.