Skip to main content

GitHub Actions

With GitHub Actions you can automate your workflow, each GitHub Action performs a specific step in a process.

actions

Testing your packages​

Verdaccio provides a custom action for easy integration in your flow by adding the following to your workflow file's steps key.

- name: Publish with Verdaccio
uses: verdaccio/github-actions/publish@master

The action will perform a npm publish and if the publishing finishes successfully, the workflow will continue to the next step, otherwise the step will fail. If there are any issues publishing a package you will notice using this action.

Inside the image it uses the verdaccio-auth-memory and verdaccio-memory plugins for authentication and storage, which keeps the run fast by never touching the disk.

If you want to know more about the action, visit our repository dedicated for GitHub Actions.