Skip to content

Commit

Permalink
Update Github Actions to use "did-extensions".
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Aug 31, 2024
1 parent b378b76 commit 3c4d52c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint-did-method-registry.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Lint DID Method Registry
name: Lint DID Methods
on:
pull_request: {}

jobs:
lint-did-spec-registries:
lint-did-extensions:
runs-on: ubuntu-latest
steps:
- name: Checkout source code...
Expand All @@ -12,12 +12,12 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install did-spec-registries tooling...
- name: Install did-extensions tooling...
working-directory: tooling
run: npm i
- name: Validate did-spec-registries DID method entries
- name: Validate did-extensions DID method entries
working-directory: tooling
run: npm run registry:validate
- name: Generate did-spec-registries registry index
- name: Generate did-extensions registry index
working-directory: tooling
run: npm run registry:generate:index
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main

jobs:
publish-did-spec-registries:
publish-did-extensions:
runs-on: ubuntu-latest
steps:
- name: Checkout source code...
Expand All @@ -14,13 +14,13 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install did-spec-registries tooling...
- name: Install did-extensions tooling...
working-directory: tooling
run: npm i
- name: Validate did-spec-registries DID method entries
- name: Validate did-extensions DID method entries
working-directory: tooling
run: npm run registry:validate
- name: Generate did-spec-registries registry index
- name: Generate did-extensions registry index
working-directory: tooling
run: npm run registry:generate:index
- name: Deploy to Github Pages
Expand Down
11 changes: 5 additions & 6 deletions tooling/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Registry Tooling

This directory contains command line tooling and support scripts for the did spec registries.
This directory contains command line tooling and support scripts for the DID
Extensions.

### Setup Tooling

Expand All @@ -16,11 +17,9 @@ npm run registry:validate

### Generate DID Methods Registry Index

This command is run in CI, the index file produced is git ignored.

This file is used by the Respec build plugin to build the registry

in client side javascript at page load time.
This command is run in CI, the index file produced is git ignored. This file is
used by the Respec build plugin to build the registry in client side javascript
at page load time.

```
npm run registry:generate:index
Expand Down

0 comments on commit 3c4d52c

Please sign in to comment.