Sync Storage Finder Data #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Storage Finder Data | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 6" | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Generate storage finder data from sheet | |
| run: bun scripts/storage-finder-data-generator/generate.ts --output src/data/storage-finder | |
| - name: Lint and format | |
| run: | | |
| bun lint --fix | |
| bun format | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "chore: sync storage finder data from sheet" |