diff --git a/.github/workflows/bun-build.yml b/.github/workflows/bun-build.yml new file mode 100644 index 0000000..4b2c3ed --- /dev/null +++ b/.github/workflows/bun-build.yml @@ -0,0 +1,27 @@ +name: Build +on: + release: + types: [ published ] + +permissions: + contents: write + +jobs: + bun-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: 'Install Dependencies' + run: bun install + + - name: 'Build app' + run: bun run build + + - uses: softprops/action-gh-release@v1 + with: + files: | + substreams-atomicmarket-api \ No newline at end of file diff --git a/package.json b/package.json index b08e48b..5b2540f 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "substreams-atomicmarket-api", "description": "Atomicmarket sales API powered by Substreams", - "version": "v0.0.1", - "repository": "https://github.com/pinax-network/substreams-atomicmarket-sales", + "version": "v0.1.0", + "repository": "https://github.com/pinax-network/substreams-atomicmarket-api", "scripts": { "dev": "bun run --hot src/index.ts", "lint": "bun run tsc --noEmit --skipLibCheck --pretty",