Skip to content

Tweak ExportedHandler types to improve DX #35947

Tweak ExportedHandler types to improve DX

Tweak ExportedHandler types to improve DX #35947

Workflow file for this run

name: CI
on:
pull_request:
branches:
- production
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
compile:
name: Compiles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.123.5'
extended: true
- name: (env) pnpm
run: curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
- run: pnpm install
- run: make build
env:
NODE_OPTIONS: "--max-old-space-size=8192"
- name: Check - Broken Links
run: pnpm run crawl
if: success()
- name: Check - Validate redirects (infinite loops, sources with fragment)
run: npx tsm bin/validate-redirects.ts
# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: (env) pnpm
# run: curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
# - run: pnpm install
# - run: pnpm run lint