Skip to content

Fix release workflow to properly handle packages/docs #285

@bhouston

Description

@bhouston

Fix release workflow to properly handle packages/docs

Problem

The GitHub Action for releases (ID: 13858498703) is failing because the packages/docs package doesn't have the required semantic-release configuration. This package is marked as private and shouldn't be published to npm.

Current Behavior

The release workflow runs the verify-release-config.js script which checks that all packages have the proper semantic-release configuration. The script fails with:

❌ Package docs does not have a semantic-release script

Expected Behavior

The release workflow should either:

  1. Properly configure the docs package to be skipped during release (but pass verification)
  2. Exclude the docs package from verification since it's marked as private

Proposed Solution

Add the required semantic-release configuration to the docs package, but configure it to skip actual publishing to npm.

This includes:

  1. Adding a semantic-release script to packages/docs/package.json
  2. Creating a .releaserc.json file in the docs package that extends semantic-release-monorepo but is configured to skip publishing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions