From aa42c86bd01ffb947b1b3cf4459dd70464427ae3 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Tue, 27 Aug 2024 10:11:44 -0400 Subject: [PATCH] modify workflow for alpha npm to build crypto first --- .github/workflows/alpha-npm.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/alpha-npm.yml b/.github/workflows/alpha-npm.yml index 1235f307c..05350b917 100644 --- a/.github/workflows/alpha-npm.yml +++ b/.github/workflows/alpha-npm.yml @@ -63,11 +63,16 @@ jobs: node ./scripts/bump-workspace.mjs --prerelease=$ALPHA_PRERELEASE shell: bash + - name: Build the crypto package first + env: + NODE_AUTH_TOKEN: ${{secrets.npm_token}} + run: pnpm --filter @web5/crypto build + - name: Build all workspace packages env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} run: pnpm --recursive --stream build - + - name: Publish selected @web5/* packages env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}