feat(presets): add workflow [skip ci]

This commit is contained in:
lowlighter
2022-01-26 19:29:46 -05:00
parent 31538d94cc
commit ba72732262
3 changed files with 110 additions and 0 deletions

26
.github/workflows/examples.presets.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Publish examples (presets)
on:
workflow_dispatch:
push:
branches:
- presets
jobs:
examples:
runs-on: ubuntu-latest
if: "github.repository == 'lowlighter/metrics'"
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 17
- name: Setup metrics
run: npm ci
- name: Publish presets examples
run: npm run presets -- publish