this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move this to run locally instead of Actions

Seems like it can't run based on PR closed by another workflow, which make sense.

+5 -30
-30
.github/workflows/update-catalogs.yml
··· 1 - name: Update catalogs 2 - 3 - on: 4 - pull_request: 5 - types: 6 - - closed 7 - workflow_dispatch: 8 - 9 - jobs: 10 - update-catalogs: 11 - runs-on: ubuntu-latest 12 - steps: 13 - - uses: actions/checkout@v4 14 - - uses: actions/setup-node@v4 15 - with: 16 - node-version: 20 17 - - run: npm ci 18 - - name: Update catalogs.json 19 - run: | 20 - node scripts/catalogs.js 21 - if git diff --quiet src/data/catalogs.json; then 22 - echo "No changes to catalogs.json" 23 - else 24 - echo "Changes to catalogs.json" 25 - git config --global user.email "github-actions[bot]@users.noreply.github.com" 26 - git config --global user.name "github-actions[bot]" 27 - git add src/data/catalogs.json 28 - git commit -m "Update catalogs.json" 29 - git push origin HEAD:main 30 - fi
+5
vite.config.js
··· 70 70 run: ['npm', 'run', 'messages:extract:clean'], 71 71 pattern: 'src/**/*.{js,jsx,ts,tsx}', 72 72 }, 73 + { 74 + name: 'update-catalogs', 75 + run: ['node', 'scripts/catalogs.js'], 76 + pattern: 'src/locales/*.po', 77 + }, 73 78 ], 74 79 }), 75 80 splitVendorChunkPlugin(),