Skip to content

Commit

Permalink
Fix generation (3 bugs) + update pkgs & gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Jul 3, 2024
1 parent b650259 commit ad3e70f
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 115 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Generate missing routes"
on:
schedule:
- cron: "0 0 * * *"
# Offset to reduce unnecessary load on GitHub Actions
- cron: "26 0 */2 * *"
push:
branches: [ "**" ]

jobs:
generate:
Expand All @@ -12,12 +12,12 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -28,4 +28,4 @@ jobs:
- run: git config user.email [email protected]
- run: git add .
- run: git diff-index --quiet HEAD || git commit -m "Update state"
- run: git push
- run: git push
Loading

0 comments on commit ad3e70f

Please sign in to comment.