Actions and workflows to make GitHub Actions simpler, more robust and more efficient.
setup-node-env
: Setups up Node, restores NPM cache and installs dependenciespublish-to-npm
: Sets up Node, runs the prepublishOnly script and publishes the package to the NPM registry
js-checks
: Run standard checks as linter, code formatter; then run tests against different Node versions
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.