Skip to content
Merged
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
26 changes: 26 additions & 0 deletions .github/workflows/build-and-publish-components-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,38 @@ jobs:
path: schemavaults-ui.tgz
retention-days: 2

Storybook-Tests:
name: "Storybook Tests"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Configure bun to install from GitHub Packages
run: rm -rf .npmrc
- name: Install dependencies
run: bun install
env:
SCHEMAVAULTS_GITHUB_PACKAGE_REGISTRY_USER: ${{ github.actor }}
SCHEMAVAULTS_GITHUB_PACKAGE_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Playwright Chromium (with system deps)
run: bunx playwright install --with-deps chromium
- name: Build Storybook
run: bun run build:storybook
- name: Run Storybook tests (interaction + smoke)
run: bun run test-storybook:ci

Publish-Package-To-GitHub:
name: "Publish @schemavaults/ui to GitHub Packages"
runs-on: ubuntu-latest
permissions:
packages: write
needs:
- Build
- Storybook-Tests
steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -82,6 +107,7 @@ jobs:
id-token: write # Required for OIDC
needs:
- Build
- Storybook-Tests
steps:
- uses: actions/setup-node@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schemavaults/ui",
"version": "0.72.2",
"version": "0.72.3",
"private": false,
"license": "UNLICENSED",
"description": "React.js UI components for SchemaVaults frontend applications",
Expand Down