Skip to content

Fetch Dependencies #237

Fetch Dependencies

Fetch Dependencies #237

Workflow file for this run

name: Fetch Dependencies
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run fetchers
run: npm run fetch:all
- name: Commit and push changes
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
git add src/web/
git commit -m "Update dependencies" || echo "No changes to commit"
git push