Skip to content

Commit

Permalink
Merge pull request #3 from DEVTomatoCake/main
Browse files Browse the repository at this point in the history
Fix generation (3 bugs) + update pkgs & gh action
  • Loading branch information
MaddyUnderStars authored Jul 3, 2024
2 parents b650259 + 62f0436 commit a408002
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 116 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 a408002

Please sign in to comment.