Skip to content

Commit

Permalink
feat: add validation scripts + github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschuck committed Oct 22, 2024
1 parent c4cd77e commit 1288722
Show file tree
Hide file tree
Showing 1,002 changed files with 169,137 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Validate

on:
push:
branches:
- main
workflow_dispatch:

jobs:
validate:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'pnpm'

- name: Install dependencies
run: pnpm i

- name: Validate vocab links
run: pnpm run validate:vocab-links

- name: Validate JSON-LD
run: pnpm run validate:jsonld
2 changes: 1 addition & 1 deletion docs/contexts/dbp/credentials/dbp.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
],
"carbonFootprintStudy": "https://ghgprotocol.org/sites/default/files/standards/Product-Life-Cycle-Accounting-Reporting-Standard_041613.pdf"
}
}
}
17 changes: 17 additions & 0 deletions node_modules/.bin/glob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

116 changes: 116 additions & 0 deletions node_modules/.modules.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 105 additions & 0 deletions [email protected]/node_modules/@digitalbazaar/http-client/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1288722

Please sign in to comment.