Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move public-api-check script to GH action #5113

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions .github/actions/check-public-api/168.index.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions .github/actions/check-public-api/180.index.js

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions .github/actions/check-public-api/190.index.js

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions .github/actions/check-public-api/206.index.js

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions .github/actions/check-public-api/29.index.js

Large diffs are not rendered by default.

24,086 changes: 24,086 additions & 0 deletions .github/actions/check-public-api/484.index.js

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions .github/actions/check-public-api/498.index.js

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions .github/actions/check-public-api/532.index.js

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions .github/actions/check-public-api/546.index.js

Large diffs are not rendered by default.

57 changes: 57 additions & 0 deletions .github/actions/check-public-api/59.index.js

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions .github/actions/check-public-api/61.index.js

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions .github/actions/check-public-api/768.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

183 changes: 183 additions & 0 deletions .github/actions/check-public-api/812.index.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .github/actions/check-public-api/922.index.js

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions .github/actions/check-public-api/953.index.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions .github/actions/check-public-api/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Check public API'
description: 'Checks whether the public API is correctly exported.'
inputs:
force-internal-exports:
description: 'Whether to force that everythin is exported through the internal API.'
default: 'false'
ignore-paths:
description: 'Paths to ignore when checking the public API.'

runs:
using: 'node20'
main: 'index.js'
285,191 changes: 285,191 additions & 0 deletions .github/actions/check-public-api/index.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
with:
node-version: 22
cache: 'yarn'
# TODO: remove this additional check once ready to merge
- uses: ./.github/actions/check-public-api
name: Check public api
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4
- run: yarn install --frozen-lockfile --ignore-engines
Expand All @@ -73,7 +76,7 @@ jobs:
name: Test Service Version Check
- run: yarn check:dependencies
name: Undeclared dependency Check
- run: yarn check:public-api
- uses: ./.github/actions/check-public-api
name: Check public api
- run: yarn test:self
name: Self tests for tools
Expand Down
Loading
Loading