Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
27 changes: 27 additions & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,30 @@ jobs:

- name: Verify generated code can build
run: vp run -F orval-tests build

publish-preview:
needs: pr-checks
runs-on: ubuntu-latest
steps:
Comment thread
arthurfiorette marked this conversation as resolved.
- name: Checkout repository
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
Comment thread
arthurfiorette marked this conversation as resolved.

- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version: 24
cache: true

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: vp install --frozen-lockfile

- name: Build packages
run: vp run -w build:release

- name: Publish preview packages
run: bun run pkg-pr-new publish './packages/*' --commentWithSha --packageManager=bun
3 changes: 3 additions & 0 deletions bun.lock

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@commitlint/config-conventional": "^21.0.1",
"@socketsecurity/bun-security-scanner": "^1.1.2",
"@types/node": "catalog:",
"pkg-pr-new": "^0.0.75",
"rimraf": "catalog:",
Comment thread
arthurfiorette marked this conversation as resolved.
"typescript": "catalog:",
"vite-plus": "catalog:",
Expand Down
Loading