Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed Jun 3, 2024
1 parent c0771bd commit aa2a151
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "clauderic/dnd-kit" }
],
"changelog": ["@changesets/changelog-github", {"repo": "clauderic/dnd-kit"}],
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"useCalculatedVersionForSnapshots": true
"snapshot": {
"useCalculatedVersion": true
}
}
16 changes: 13 additions & 3 deletions .github/workflows/release-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,24 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 20
# https://github.com/atlassian/changesets/issues/550#issuecomment-811245508
registry-url: https://registry.npmjs.org

- uses: oven-sh/setup-bun@v1
- run: bun install && bun run build

- name: Publish packages on npm with @beta tag
run: |
bun run version-packages:beta
bun run release:beta
npm run version-packages:beta
npm run release:beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit aa2a151

Please sign in to comment.