Skip to content

Commit

Permalink
Setup for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
chamorin committed Jan 8, 2024
1 parent 751d306 commit d70ce82
Show file tree
Hide file tree
Showing 14 changed files with 373 additions and 870 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/bun-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Generate standalone Bun executable
on:
release:
types: [published]

permissions:
contents: write

jobs:
build-and-push-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun run test
- run: bun run build
- uses: softprops/action-gh-release@v1
with:
files: |
substreams-sink-prometheus
14 changes: 14 additions & 0 deletions .github/workflows/bun-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Bun Test

on: push

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun install
- run: bun run test
14 changes: 0 additions & 14 deletions .github/workflows/ci.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/sea.yml

This file was deleted.

Loading

0 comments on commit d70ce82

Please sign in to comment.