Skip to content

oscarBack/actions-to-graph

Repository files navigation

ACTIONS TO GRAPH

GitHub

actions-to-graph is a Visual Studio Code extension that allows you to generate a graph from a yaml/yml file with github action workflow.

⚠️ This extension:

  • Convertions depends on the needs and jobs fields of a Github Action workflow.
  • Supports both YAML 1.1 and YAML 1.2.
  • Supports YAML with comments.
  • The library is released under the ISC open source license, and the code is available on Github

Features

  • Generate a graph with mermaid syntax in a new graph.md file.
  • Show error message when the content of the file is not a valid Github Action workflow.

Action GIF

Testing

Running locally

  • Position on src/extension.ts and press F5 to run the extension locally.

Running pool of tests

  • Build the devcontainer with the extension Dev Containers
  • Run the tests with npm run test

License

This project is licensed under the terms of the MIT license.

About

vscode extension to generate a graph from a yaml/yml file with github action workflow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published