Skip to content

Commit

Permalink
Update Github actions to latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Nov 10, 2024
1 parent 0a009c3 commit 9bbd94c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
jobs:
main:
name: Build, Validate and Deploy
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Begin spec-prod...
uses: actions/checkout@v2
- name: Setup Node 16...
uses: actions/setup-node@v1
uses: actions/checkout@v4
- name: Setup Node 22...
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install did-spec-registries tooling...
node-version: 22.x
- 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
run: npm run validate
- name: Generate did-extensions registry index
working-directory: tooling
run: npm run registry:generate:index
run: npm run generate
- uses: w3c/spec-prod@v2
with:
W3C_ECHIDNA_TOKEN: ${{ secrets.W3C_TR_TOKEN }}
W3C_WG_DECISION_URL: https://www.w3.org/2019/did-wg/Meetings/Minutes/2020-06-09-did#resolution1
W3C_BUILD_OVERRIDE: |
shortName: did-spec-registries
shortName: did-extensions
specStatus: NOTE
12 changes: 6 additions & 6 deletions .github/workflows/lint-did-method-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code...
uses: actions/checkout@v2
- name: Setup Node 16...
uses: actions/setup-node@v2
uses: actions/checkout@v4
- name: Setup Node 22...
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x
- name: Install did-extensions tooling...
working-directory: tooling
run: npm i
- name: Validate did-extensions DID method entries
working-directory: tooling
run: npm run registry:validate
run: npm run validate
- name: Generate did-extensions registry index
working-directory: tooling
run: npm run registry:generate:index
run: npm run generate
14 changes: 7 additions & 7 deletions .github/workflows/publish-did-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code...
uses: actions/checkout@v2
- name: Setup Node 16...
uses: actions/setup-node@v2
uses: actions/checkout@v4
- name: Setup Node 22...
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x
- name: Install did-extensions tooling...
working-directory: tooling
run: npm i
- name: Validate did-extensions DID method entries
working-directory: tooling
run: npm run registry:validate
run: npm run validate
- name: Generate did-extensions registry index
working-directory: tooling
run: npm run registry:generate:index
run: npm run generate
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .
Expand Down

0 comments on commit 9bbd94c

Please sign in to comment.