mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-15 17:40:03 +02:00
chore: set cron to run job every month instead of every week
This commit is contained in:
@@ -3,7 +3,7 @@ name: Extract
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 6 * * 6' # Runs every Saturday at 06:00 UTC
|
||||
- cron: '0 6 1 * *' # Runs monthly on the 1st day at 06:00 UTC
|
||||
|
||||
jobs:
|
||||
extract:
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
node-version-file: 'package.json'
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 22
|
||||
node-version-file: 'package.json'
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm install -g npm@latest
|
||||
- run: npm ci
|
||||
|
||||
Reference in New Issue
Block a user