Skip to content

Commit 5edf529

Browse files
ci: fix publish (#1348)
### Description <!-- ✍️ Write a short summary of your work. Screenshots and videos are welcome! --> ### Demo URL <!-- Provide a URL to a live deployment where we can test your PR. If a demo isn't possible feel free to omit this section. --> ### Type of Change - [ ] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered? --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a1119e9 commit 5edf529

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
release:
1818
name: Release
1919
runs-on: ubuntu-latest
20-
defaults:
21-
run:
22-
shell: bash
23-
working-directory: internal
2420
steps:
2521
- name: Checkout
2622
uses: actions/checkout@v4
@@ -36,10 +32,14 @@ jobs:
3632

3733
- name: Install Dependencies
3834
run: pnpm i --frozen-lockfile --ignore-scripts
35+
working-directory: internal
3936

4037
- name: Create Release PR or Publish Packages
41-
uses: changesets/action@v1
38+
# Last known version working with cwd
39+
# https://github.com/changesets/action/issues/501
40+
uses: changesets/[email protected]
4241
with:
42+
cwd: internal
4343
# Builds the package and executes `changeset publish`
4444
publish: pnpm release
4545
# Alias to `changeset version` script in package.json

internal/.changeset/mean-jeans-boil.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

internal/packages/ui/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @vercel/examples-ui
22

3+
## 2.0.4
4+
5+
### Patch Changes
6+
7+
- f695ed95: Export layout, allow react 19
8+
39
## 2.0.3
410

511
### Patch Changes

internal/packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vercel/examples-ui",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"license": "MIT",
55
"scripts": {
66
"dev": "pnpm build:swc -w",

0 commit comments

Comments
 (0)