diff --git a/.github/workflows/drift.yml b/.github/workflows/drift.yml index e9edb49..9b39020 100644 --- a/.github/workflows/drift.yml +++ b/.github/workflows/drift.yml @@ -53,14 +53,15 @@ jobs: COUNT=$(echo "$RESULT" | jq -r '.data.count // 0') echo "count=$COUNT" >> $GITHUB_OUTPUT + - name: Install docs-sync deps + if: steps.breaking.outputs.count != '0' + run: | + git clone https://github.com/ryanwaits/drift.git /tmp/drift-action --depth=1 + cd /tmp/drift-action/action && bun install + - name: Run docs sync if: steps.breaking.outputs.count != '0' env: GITHUB_TOKEN: ${{ secrets.DOCS_SYNC_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - run: | - cd /tmp - git clone https://github.com/ryanwaits/drift.git drift-action --depth=1 - cd drift-action/action - bun install - GITHUB_EVENT_PATH=${{ github.event_path }} bun run docs-sync.ts + run: bun run /tmp/drift-action/action/docs-sync.ts diff --git a/packages/stacks/src/index.ts b/packages/stacks/src/index.ts index bccbff8..b1720a8 100644 --- a/packages/stacks/src/index.ts +++ b/packages/stacks/src/index.ts @@ -43,6 +43,6 @@ export { mainnet, testnet } from "./chains/definitions.ts"; export type { StacksChain } from "./chains/types.ts"; // Utils (re-export most-used for convenience) -export { formatStx as formatMicroStx, parseStx } from "./utils/units.ts"; +export { formatStx as formatMicroStx } from "./utils/units.ts"; export { ZERO_ADDRESS as NULL_ADDRESS, AddressVersion, MICROSTX_PER_STX } from "./utils/constants.ts"; export { isValidAddress, getContractAddress } from "./utils/address.ts";