Skip to content

cron

cron #1

Workflow file for this run

name: cron
on:
schedule:
# Cron job every day at 12:00
# https://crontab.guru/#0_12_*_*_*
- cron: '12 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Test
run: npm test
- name: Healtcheck
run: curl -fsS -m 10 --retry 5 -o /dev/null https://hc-ping.com/3cb379bd-82f5-49c1-9f54-6e9f314aa7ba