Skip to content

Merge pull request #33 from arduino/schema #64

Merge pull request #33 from arduino/schema

Merge pull request #33 from arduino/schema #64

name: Render Registry
on:
push:
branches:
- main
jobs:
render:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-node@v2
with:
node-version: 14
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Install dependencies
run: cd registry-renderer; npm i
- name: Render list
run: node ./registry-renderer/index.js
- name: Commit list
run: |
git --no-pager branch
git config --global user.name 'Arduino'
git config --global user.email 'ft.content@arduino.cc'
git commit -am "Automated rendering of registry" || true
git push