-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from DEVTomatoCake/main
Fix generation (3 bugs) + update pkgs & gh action
- Loading branch information
Showing
5 changed files
with
154 additions
and
116 deletions.
There are no files selected for viewing
This file contains 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
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: | ||
|
@@ -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' | ||
|
@@ -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 |
Oops, something went wrong.