Skip to content

Gen readme (#690)

Gen readme (#690) #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
files-up-to-date:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: "`yarn format` changes committed?"
run: yarn format:check
- name: "`yarn gen-readme` changes committed?"
run: |
yarn gen-readme
git diff --exit-code