Skip to content

Commit

Permalink
Adding test action for cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdelato committed Mar 6, 2024
1 parent 18f9abb commit 4232f38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cron-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Cron (1)
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "35 21 * * 1-5"
- cron: "30 21 * * 1-5"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -45,25 +45,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- run: |
test "$(npx auto version)" != "patch"
test "$(npx auto version)" != "patch" || exit 1
- run: |
test "$(npx auto version)" != "major"
test "$(npx auto version)" != "major" || exit 1
build:
name: Node v${{ matrix.node }}
if: ${{ github.event.schedule || github.event.inputs.mode == 'publish' || github.event.inputs.mode == 'force-version' || (github.event_name == 'push' && github.ref_name == 'master') }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
node: [20]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

0 comments on commit 4232f38

Please sign in to comment.