Skip to content

Commit

Permalink
chore: publish more packages
Browse files Browse the repository at this point in the history
  • Loading branch information
8e8b2c committed Jul 8, 2024
1 parent 8a1bd87 commit bba9a1a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
37 changes: 35 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
nix develop --command \
npm run build:dna
- uses: actions/upload-artifact@v4
if: always()
with:
name: happ_workdir
path: workdir
Expand Down Expand Up @@ -141,13 +140,26 @@ jobs:
- run: npm run build:external-id-attestor
- run: npm run build:evm-bytes-signer
- run: npm run build:mock-oracle

- name: Save client build for possible publish
uses: actions/upload-artifact@v4
if: always()
with:
name: client-dist
path: packages/client/dist
retention-days: 1
- name: Save external-id-attestor build for possible publish
uses: actions/upload-artifact@v4
with:
name: client-dist
path: packages/external-id-attestor/dist
retention-days: 1
- name: Save evm-bytes-signer build for possible publish
uses: actions/upload-artifact@v4
with:
name: client-dist
path: packages/evm-bytes-signer/dist
retention-days: 1

- name: Build images
run: |
docker build --target local-services -t holoom/local-services docker/misc_hc
Expand Down Expand Up @@ -182,6 +194,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download happ_workdir
uses: actions/download-artifact@v4
with:
Expand All @@ -196,11 +209,23 @@ jobs:
path: rocket-artifact
- name: Move server binary
run: mv rocket-artifact/holoom_rocket_server ./holoom_rocket_server-bookworm

- name: Download client dist
uses: actions/download-artifact@v4
with:
name: client-dist
path: packages/client/dist
- name: Download external-id-attestor dist
uses: actions/download-artifact@v4
with:
name: external-id-attestor-dist
path: packages/external-id-attestor/dist
- name: Download evm-bytes-signer dist
uses: actions/download-artifact@v4
with:
name: evm-bytes-signer-dist
path: packages/evm-bytes-signer/dist

- name: Release binaries
uses: softprops/action-gh-release@v2
with:
Expand All @@ -215,3 +240,11 @@ jobs:
run: npm publish --access public -w @holoom/client
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish external-id-attestor to npm
run: npm publish --access public -w @holoom/external-id-attestor
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish evm-bytes-signer to npm
run: npm publish --access public -w @holoom/evm-bytes-signer
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@holoom/client",
"version": "0.1.0",
"version": "0.1.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down

0 comments on commit bba9a1a

Please sign in to comment.