Spaces:
Build error
Build error
hiett commited on
Commit ·
289c675
1
Parent(s): d1b22d9
Swap to bun, which Upstash redis package has moved to
Browse files
.github/workflows/test.yml
CHANGED
|
@@ -45,9 +45,9 @@ jobs:
|
|
| 45 |
with:
|
| 46 |
repository: upstash/upstash-redis
|
| 47 |
|
| 48 |
-
- uses:
|
| 49 |
with:
|
| 50 |
-
|
| 51 |
|
| 52 |
- name: Download SRH artifact
|
| 53 |
uses: actions/download-artifact@v3
|
|
@@ -75,8 +75,11 @@ jobs:
|
|
| 75 |
rm ./pkg/commands/json_mget.test.ts
|
| 76 |
rm ./pkg/commands/json_objlen.test.ts
|
| 77 |
|
|
|
|
|
|
|
|
|
|
| 78 |
- name: Run @upstash/redis Test Suite
|
| 79 |
-
run:
|
| 80 |
env:
|
| 81 |
UPSTASH_REDIS_REST_URL: http://localhost:8080
|
| 82 |
UPSTASH_REDIS_REST_TOKEN: ${{ env.SRH_TOKEN }}
|
|
|
|
| 45 |
with:
|
| 46 |
repository: upstash/upstash-redis
|
| 47 |
|
| 48 |
+
- uses: oven-sh/setup-bun@v1
|
| 49 |
with:
|
| 50 |
+
bun-version: latest
|
| 51 |
|
| 52 |
- name: Download SRH artifact
|
| 53 |
uses: actions/download-artifact@v3
|
|
|
|
| 75 |
rm ./pkg/commands/json_mget.test.ts
|
| 76 |
rm ./pkg/commands/json_objlen.test.ts
|
| 77 |
|
| 78 |
+
- name: Install bun dependencies
|
| 79 |
+
run: bun install
|
| 80 |
+
|
| 81 |
- name: Run @upstash/redis Test Suite
|
| 82 |
+
run: bun test pkg
|
| 83 |
env:
|
| 84 |
UPSTASH_REDIS_REST_URL: http://localhost:8080
|
| 85 |
UPSTASH_REDIS_REST_TOKEN: ${{ env.SRH_TOKEN }}
|