Skip to content

docs: inline OG font as base64 so Vercel function can read it #190

docs: inline OG font as base64 so Vercel function can read it

docs: inline OG font as base64 so Vercel function can read it #190

Workflow file for this run

name: Tests
on:
push:
pull_request:
types: [opened, reopened]
branches: [main]
release:
types: [published]
jobs:
run-tests:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-22.04
node:
- 20
- 22
- 24
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- run: npm run build
publish:
runs-on: ubuntu-latest
needs: run-tests
if: github.event_name == 'release'
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
- run: npm install
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}