Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/transmute-industries/jsonld-github-action
- Owner: transmute-industries
- License: apache-2.0
- Created: 2023-01-14T15:27:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T17:13:47.000Z (almost 2 years ago)
- Last Synced: 2024-09-17T18:41:12.062Z (4 months ago)
- Topics: actions, github, jsonld, rdf
- Language: JavaScript
- Homepage: https://github.com/transmute-industries/jsonld-github-action
- Size: 620 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```