Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun #672

Merged
merged 47 commits into from
Oct 26, 2023
Merged

bun #672

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
962fd64
chore: remove console.log
chronark Oct 10, 2023
a76aa0e
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 10, 2023
c2183e6
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 10, 2023
dc46ca5
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 17, 2023
855b20a
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 17, 2023
85c7b79
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 17, 2023
672b3a3
Merge branch 'main' of https://github.com/upstash/upstash-redis
chronark Oct 19, 2023
ba999bf
refactor: tests
chronark Oct 19, 2023
32173e6
ci: so it begins
chronark Oct 19, 2023
f67ece6
Merge branch 'main' of https://github.com/upstash/upstash-redis into bun
chronark Oct 19, 2023
b052361
ci: wip
chronark Oct 19, 2023
adea804
ci: wip
chronark Oct 19, 2023
cf70d4c
ci: wip
chronark Oct 19, 2023
996539a
ci: wip
chronark Oct 19, 2023
ba58b4a
ci: wip
chronark Oct 19, 2023
58dfec5
ci: wip
chronark Oct 19, 2023
3b3a10c
ci: wip
chronark Oct 19, 2023
14cf117
ci: wip
chronark Oct 19, 2023
263a8b3
ci: wip
chronark Oct 19, 2023
ac395d6
ci: wip
chronark Oct 19, 2023
6cac254
ci: wip
chronark Oct 19, 2023
ccd372d
ci: wip
chronark Oct 19, 2023
be78fac
ci: wip
chronark Oct 19, 2023
d6be2b2
ci: wip
chronark Oct 19, 2023
0624851
ci: wip
chronark Oct 19, 2023
f70718d
ci: wip
chronark Oct 19, 2023
70275e3
ci: wip
chronark Oct 19, 2023
cccbfa1
ci: wip
chronark Oct 19, 2023
1e9bcd7
ci: wip
chronark Oct 19, 2023
9293298
ci: wip
chronark Oct 19, 2023
dd9731d
ci: wip
chronark Oct 19, 2023
66fd7a9
ci: wip
chronark Oct 19, 2023
8e628df
ci: wip
chronark Oct 19, 2023
06854f3
ci: wip
chronark Oct 19, 2023
8cbd894
ci: wip
chronark Oct 19, 2023
dfe7d4e
ci: wip
chronark Oct 19, 2023
b0f7e36
ci: wip
chronark Oct 19, 2023
bd72e88
ci: wip
chronark Oct 19, 2023
7a29aa5
ci: wip
chronark Oct 19, 2023
7074909
ci: wip
chronark Oct 23, 2023
51446ac
ci: wip
chronark Oct 23, 2023
32297c5
ci: wip
chronark Oct 23, 2023
855bbea
ci: wip
chronark Oct 23, 2023
45fd3cb
docs(README.md): update Deno installation link to Bun installation link
chronark Oct 23, 2023
adde737
docs: explain build step
chronark Oct 23, 2023
5af8a64
Add verbose to understand the npm issue
ogzhanolguncu Oct 23, 2023
592d82a
Disable sourcemaps and allow minify
ogzhanolguncu Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 12 additions & 6 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,24 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3


- name: Set env
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: lts/*

- uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install bun
run: curl -fsSL https://bun.sh/install | bash

- name: Set package version
run: |
~/.bun/bin/bun ./scripts/set-version.js . ${{ env.VERSION }}
echo "export const VERSION='${{ env.VERSION }}'" > ./src/version.ts

- name: Build
run: deno run -A ./cmd/build.ts
run: ~/.bun/bin/bun run build

- name: Release
env:
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,19 @@ jobs:
with:
node-version: lts/*

- uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Install bun
run: npm i -g bun

- name: Set package version
run: |
bun run ./scripts/set-version.js . ${{ env.VERSION }}
echo "export const VERSION='${{ env.VERSION }}'" > ./src/version.ts

- name: Install Dependencies
run: bun install

- name: Build
run: deno run -A ./cmd/build.ts $VERSION
run: bun run build

- name: Publish
if: "!github.event.release.prerelease"
Expand Down
Loading
Loading