Skip to content

Commit

Permalink
updated ts bundler and publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aboelenein committed Apr 2, 2024
1 parent e7b878e commit 2cb64e7
Show file tree
Hide file tree
Showing 6 changed files with 2,548 additions and 205 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-and-publish-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Publish NPM package

on:
push:
branches: [main]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm ci

- name: Run build
run: npm run build

- name: Publish to NPM package registry
run: npm publish --access=public --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
48 changes: 0 additions & 48 deletions .github/workflows/release-package.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

Sats connect is a simple javascript library that connects apps to Bitcoin wallets like Xverse to retrieve user wallet addresses and sign transactions (PSBTs).


# Building the `@sats-connect/core` package

To build the `@sats-connect/core` package, run
Expand Down
Loading

0 comments on commit 2cb64e7

Please sign in to comment.