Skip to content

CRON REVALIDATE

CRON REVALIDATE #4237

Workflow file for this run

name: CRON REVALIDATE
on:
schedule:
- cron: "*/40 * * * *"
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
tags:
description: "Test scenario tags"
jobs:
cron:
runs-on: ubuntu-latest
steps:
# checkout current Repositor
- uses: actions/checkout@v2
# install node
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
# install Cache Modules
# based on package-lock.json file
- name: Cache node modules
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm run build:cron
- name: Run Action
run: pnpm run start:cron