Skip to content

Publish examples (presets) #505

Publish examples (presets)

Publish examples (presets) #505

name: Publish examples (presets)
on:
schedule:
- cron: "0 16 1/2 * *"
workflow_dispatch:
workflow_call:
jobs:
examples:
runs-on: ubuntu-latest
if: "github.repository == 'lowlighter/metrics'"
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup metrics
run: npm ci
- name: Publish presets examples
run: npm run presets -- publish
env:
GITHUB_TOKEN: ${{ github.token }}