Skip to content

Commit 5a61c2e

Browse files
authored
Merge pull request #293 from DevinoSolutions/add-missing-changeset
add missing .changeset
2 parents acb1a0b + 8478dbc commit 5a61c2e

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- dev
67

78
concurrency:
89
group: ${{ github.workflow }}-${{ github.ref }}
@@ -31,7 +32,7 @@ jobs:
3132
id: changesets
3233
uses: changesets/action@v1
3334
with:
34-
publish: pnpm run release
35+
publish: ${{ github.ref == 'refs/heads/master' && 'pnpm run release' || 'pnpm --filter upup-react-file-uploader run test-release' }}
3536
env:
3637
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3738
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/upup/.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

packages/upup/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"storybook": "dotenv -e ../../.env -e ../../local-dev/.env.ports -- pnpm exec storybook dev -p 53050",
7878
"build-storybook": "pnpm exec storybook build",
7979
"ci": "pnpm run prettier-check && pnpm run build",
80+
"test-release": "pnpm run prettier-check && pnpm run build && pnpm exec changeset publish --dry-run",
8081
"release": "pnpm run prettier-check && pnpm run build && pnpm exec changeset publish",
8182
"prepare": "pnpm run build"
8283
},

0 commit comments

Comments
 (0)