Skip to content

CRON

CRON #43

Workflow file for this run

name: CRON
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Set up nx-cloud
run: npx nx-cloud start-ci-run --distribute-on="4 linux-medium-js" --stop-agents-after="test:ci"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm nx run-many --target=test:cron