Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(release): isolate store dependency cache

tianma-ifa03341934eb8
diff --git a/.github/workflows/store-delivery.yml b/.github/workflows/store-delivery.yml
index b6fe31a7..ee2bfa7a 100644
--- a/.github/workflows/store-delivery.yml
+++ b/.github/workflows/store-delivery.yml
@@ -152,7 +152,9 @@ jobs:
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
- run: bun install --frozen-lockfile
+ run: >-
+ bun install --frozen-lockfile
+ --cache-dir "$RUNNER_TEMP/edgeever-bun-cache-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
- name: Restore Android upload keystore
env:
@@ -266,7 +268,9 @@ jobs:
working-directory: apps/mobile
- name: Install dependencies
- run: bun install --frozen-lockfile
+ run: >-
+ bun install --frozen-lockfile
+ --cache-dir "$RUNNER_TEMP/edgeever-bun-cache-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
- name: Build the iOS archive on EAS
id: build
diff --git a/scripts/store-delivery.test.mjs b/scripts/store-delivery.test.mjs
index 142dedab..5765cbb3 100644
--- a/scripts/store-delivery.test.mjs
+++ b/scripts/store-delivery.test.mjs
@@ -36,6 +36,11 @@ describe("store delivery command", () => {
);
expect(workflow.match(/eas-version: 21\.4\.0/g)).toHaveLength(2);
expect(workflow.match(/packager: npm/g)).toHaveLength(2);
+ expect(
+ workflow.match(
+ /edgeever-bun-cache-\$\{GITHUB_RUN_ID\}-\$\{GITHUB_RUN_ATTEMPT\}/g,
+ ),
+ ).toHaveLength(2);
});
test("replaces the GitHub APK with the Play-signed universal APK", () => {