diff --git a/.github/workflows/extract.yml b/.github/workflows/extract.yml index 1178fb6..df70802 100644 --- a/.github/workflows/extract.yml +++ b/.github/workflows/extract.yml @@ -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' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 511650e..8d47179 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/README.md b/README.md index a9558f5..0501c1d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Utility for extracting credentials from the Crunchyroll Android app (both TV and mobile versions). -The [credentials](https://github.com/vitalygashkov/crextractor/blob/main/credentials.tv.json) are [automatically](https://github.com/vitalygashkov/crextractor/actions/workflows/extract.yml) updated once a week (if there are any changes). +The [credentials](https://github.com/vitalygashkov/crextractor/blob/main/credentials.tv.json) are [automatically](https://github.com/vitalygashkov/crextractor/actions/workflows/extract.yml) updated once a month (if there are any changes). ## Usage