Skip to content

[npm] Add repository field to published packages #6592

[npm] Add repository field to published packages

[npm] Add repository field to published packages #6592

Workflow file for this run

name: public-api-compatibility
on:
pull_request:
paths:
- components/public-api/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # pin@v4
- uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # pin@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@06f9dd823d873146471cfaaf108a993fe00e5325 # pin@v1
with:
input: "components/public-api"
- uses: bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # pin@v1
with:
input: "components/public-api"
# We compare against the target branch of the Pull Request, normally main
# Note that we only apply breaking detection to the public-api component.
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=${GITHUB_BASE_REF},subdir=components/public-api"