Skip to content

fix: set comark dep #163

fix: set comark dep

fix: set comark dep #163

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
# Superseded runs are pointless: every push rebuilds the whole dep tree.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
package-manager-cache: false
node-version: '24'
- run: npm i -g --force corepack && corepack enable
- run: pnpm install --frozen-lockfile
# Lint and unit tests need no generated types, so they run before `prepare`
# and fail fast.
- run: pnpm lint
- run: pnpm test
- run: pnpm dev:prepare
- run: pnpm typecheck
# Builds the playground, which exercises the layer end to end: content
# pages, landing, OG images, and the generated ISR route rules.
- run: pnpm build
# Continuous preview releases via pkg.pr.new: every commit gets an installable
# tarball (https://pkg.pr.new/comarkdown/comark-docs@<sha>), so downstream sites
# can test the layer before a release. Requires the pkg.pr.new GitHub App.
- run: pnpx pkg-pr-new publish --compact --no-template --pnpm