Skip to content

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec #344

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec

fix: Avoid unintentional breaks in the Markdown list documenting InvitationSpec #344

Workflow file for this run

name: Lint Markdown
# run CI on pushes to main, and on all PRs (even the ones that target other
# branches)
on:
push:
branches: [main]
pull_request:
env:
NODE_NEW_VERSION: 'lts/jod'
jobs:
lint-markdown:
runs-on: ubuntu-latest
strategy:
matrix:
# node-new keeps required job names stable; resolved to NODE_NEW_VERSION.
node-version: ['node-new']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Resolve Node.js version
id: resolve-node-version
run: |
if [ "${{ matrix.node-version }}" = "node-new" ]; then
echo "node-version=${{ env.NODE_NEW_VERSION }}" >> "$GITHUB_OUTPUT"
else
echo "node-version=${{ matrix.node-version }}" >> "$GITHUB_OUTPUT"
fi
- name: Use Node.js ${{ steps.resolve-node-version.outputs.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ steps.resolve-node-version.outputs.node-version }}
- name: Lint
run: |
corepack enable
yarn install
yarn lint:format