Skip to content

Commit 335669e

Browse files
feat: zipのキャッシュ機構を追加 (#40)
Co-authored-by: Copilot <[email protected]>
1 parent 669292e commit 335669e

File tree

11 files changed

+378
-138
lines changed

11 files changed

+378
-138
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
3030
- name: Test Dry Run
3131
run: |
32-
pnpm run run:collect-artifacts --skipDownload
32+
pnpm run run:collect-artifacts --fetchUrlOnly
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update_pages.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,12 @@ jobs:
6767
CLIENT_ID: ${{ secrets.CLIENT_ID }}
6868
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
6969
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
70+
71+
- name: Upload Caches
72+
run: |
73+
pnpm run run:upload-caches
74+
env:
75+
APP_ID: ${{ secrets.APP_ID }}
76+
CLIENT_ID: ${{ secrets.CLIENT_ID }}
77+
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
78+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ dist-ssr
2626
private-key.pem
2727
public/preview/*
2828
!public/preview/.gitkeep
29+
30+
scripts/cached/*
31+
!scripts/cached/.gitkeep

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"fmt": "eslint --ext .js,.vue,.ts,.mts *.config.* src scripts --fix",
1010
"run:collect-artifacts": "tsx scripts/collectArtifacts.ts",
1111
"run:update-comments": "tsx scripts/updateComments.ts",
12+
"run:upload-caches": "tsx scripts/uploadCaches.ts",
1213
"dev": "vite",
1314
"build": "vue-tsc -b && vite build",
1415
"preview": "vite preview"

scripts/cached/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)