Skip to content

Make URLPath.fromString infallible #236

Make URLPath.fromString infallible

Make URLPath.fromString infallible #236

Workflow file for this run

name: Check
on: [push, pull_request]
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run typecheck
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run lint
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run fmt
test-nodejs:
name: Test (Node.js)
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shell: [latest, lts]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: nodejs-${{ matrix.shell }}
- run: pnpm run test --coverage
test:
name: Test (Bun)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
shell: bun-latest
- run: bun test --coverage ./test/*
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run docs-ci