Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Jan 16, 2024
1 parent f0e9343 commit 3856b29
Show file tree
Hide file tree
Showing 7 changed files with 972 additions and 3,162 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/generate-page-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Generate Page Cache
on:
workflow_dispatch:
inputs:
locale:
required: true

jobs:
generate:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18.17.0
- run: pnpm install
- run: echo "LOCALE=${{ github.event.inputs.locale }}" >> $GITHUB_ENV
- run: pnpm ts-node scripts/generate-page-cache.ts

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsx": "^3.12.7",
"turbo": "^1.10.15"
"turbo": "^1.10.15",
"@google-cloud/storage": "^7.7.0",
"@types/node-fetch": "^2.6.10",
"cheerio": "^1.0.0-rc.12",
"firebase-admin": "^11.11.1"
}
}
Loading

0 comments on commit 3856b29

Please sign in to comment.