Skip to content

Commit

Permalink
feat: did key provider publish config (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Jun 19, 2023
1 parent dc6f985 commit ef544cd
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/publish_did_key.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish KEY DID Provider

on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.0
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm release-build:did-provider-key
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Publish
run: npm publish -w @blockchain-lab-um/did-provider-key
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
3 changes: 2 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"packages/types": "0.1.0",
"packages/datamanager": "0.1.0",
"libs/utils": "1.1.0",
"libs/did-provider-ebsi": "1.0.0"
"libs/did-provider-ebsi": "1.0.0",
"libs/did-provider-key": "1.0.0"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"prettier": "prettier --write .",
"release-build:core": "pnpm nx run-many --target=build --projects=@blockchain-lab-um/masca,@blockchain-lab-um/masca-connector,@blockchain-lab-um/veramo-datamanager",
"release-build:did-provider-ebsi": "pnpm nx build @blockchain-lab-um/did-provider-ebsi",
"release-build:did-provider-key": "pnpm nx build @blockchain-lab-um/did-provider-key",
"release-build:utils": "pnpm nx build @blockchain-lab-um/utils",
"start": "pnpm nx run-many --target=start --all",
"start:dapp": "pnpm nx start @blockchain-lab-um/dapp",
Expand Down
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@
"bumpPatchForMinorPreMajor": false,
"changelogPath": "CHANGELOG.md",
"versioning": "default"
},
"libs/did-provider-key": {
"release-as": "1.0.0",
"component": "did-provider-key",
"releaseType": "node",
"bumpMinorPreMajor": false,
"bumpPatchForMinorPreMajor": false,
"changelogPath": "CHANGELOG.md",
"versioning": "default"
}
},
"plugins": [
Expand Down

0 comments on commit ef544cd

Please sign in to comment.