Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/transmute-industries/jsonld-github-action

JSON-LD Operations with GitHub Actions
https://github.com/transmute-industries/jsonld-github-action

actions github jsonld rdf

Last synced: about 1 month ago
JSON representation

JSON-LD Operations with GitHub Actions

Awesome Lists containing this project

README

        

# JSON-LD GitHub Action

🚧 Experimental 🏗️.

[![Demo](https://github.com/transmute-industries/jsonld-github-action/actions/workflows/demo.yml/badge.svg)](https://github.com/transmute-industries/jsonld-github-action/actions/workflows/demo.yml)

[![CI](https://github.com/transmute-industries/jsonld-github-action/actions/workflows/ci.yml/badge.svg)](https://github.com/transmute-industries/jsonld-github-action/actions/workflows/ci.yml)
![Branches](./badges/coverage-branches.svg)
![Functions](./badges/coverage-functions.svg)
![Lines](./badges/coverage-lines.svg)
![Statements](./badges/coverage-statements.svg)
![Jest coverage](./badges/coverage-jest%20coverage.svg)

#### [Questions? Contact Transmute](https://transmute.typeform.com/to/RshfIw?typeform-source=jsonld-github-action)

## Usage

```yml
name: Demo
on: workflow_dispatch
jobs:
demo:
runs-on: ubuntu-latest
steps:
- name: Frame a Document
uses: transmute-industries/[email protected]
id: frame
with:
operation: frame
document: |
{
"http://schema.org/name": "Orie Steele",
"http://schema.org/url": {"@id": "https://transmute.industries"}
}
- name: Review the framed document
run: |-
echo '${{ steps.frame.outputs.json }}' >> framed.json;
cat ./framed.json | jq
```

## Develop

```bash
npm i
npm t
```