Skip to content

Commit a860bbe

Browse files
committed
test
1 parent 911d15b commit a860bbe

File tree

1 file changed

+5
-47
lines changed

1 file changed

+5
-47
lines changed

.github/workflows/archive.yml

Lines changed: 5 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,14 @@ on:
99
jobs:
1010
archive-gemini-conversations:
1111
runs-on: ubuntu-latest
12-
permissions:
13-
contents: write
1412
steps:
1513
- name: Checkout repository
1614
uses: actions/checkout@v5
1715

18-
- name: Set up Node.js
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: 23
22-
23-
- name: Install pnpm
24-
uses: pnpm/action-setup@v4
25-
with:
26-
version: 10
27-
28-
- name: Get pnpm store path
29-
run: echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_ENV
30-
31-
- name: Cache pnpm dependencies
32-
uses: actions/cache@v4
33-
with:
34-
path: ${{ env.PNPM_STORE_PATH }}
35-
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
36-
37-
# https://github.com/microsoft/playwright/issues/7249#issuecomment-2664215505
38-
- name: Get Playwright version
39-
run: echo "PLAYWRIGHT_VERSION=$(jq -r '.dependencies.playwright' package.json)" >> $GITHUB_ENV
40-
41-
- name: Cache Playwright executables
42-
uses: actions/cache@v4
16+
- name: Checkout repository
17+
uses: actions/checkout@v5
4318
with:
44-
path: ~/.cache/ms-playwright
45-
key: playwright-${{ env.PLAYWRIGHT_VERSION }}
46-
47-
- name: Install dependencies
48-
run: |
49-
pnpm install
50-
pnpm exec playwright install chromium
51-
52-
- name: Archive Gemini conversations
53-
id: archive
54-
run: pnpm start
19+
repository: ${ github.action_repository }
20+
path: ${ github.action_repository }
5521

56-
- name: Commit changes
57-
run: |
58-
git config user.name "github-actions[bot]"
59-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
60-
git add conversations/*.html || true
61-
git add -u conversations/*.html || true
62-
git diff --cached --quiet && exit 0
63-
git commit -F .git/commit-msg
64-
git push
22+
- run: tree ${ github.workspace }

0 commit comments

Comments
 (0)