Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/stacks/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Loading