Skip to content

Commit 4bbcc80

Browse files
authored
feat(ci): release workflow for main (#2283)
1 parent 90cd788 commit 4bbcc80

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/version.yml renamed to .github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Version
1+
name: Release
22
on:
33
push:
44
branches:
55
- main
66
concurrency: ${{ github.workflow }}-${{ github.ref }}
77
jobs:
8-
version:
8+
release:
99
runs-on: buildjet-4vcpu-ubuntu-2204
1010
permissions:
1111
contents: write
@@ -39,10 +39,12 @@ jobs:
3939
# This step errors if it is not in prerelease mode
4040
continue-on-error: true
4141
run: pnpm canary:exit
42-
- name: Create Release Pull Request
42+
- name: Create "Version packages" PR or publish release
4343
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
4444
with:
4545
version: pnpm run version
46+
publish: pnpm run release
4647
title: "chore(root): Version packages"
4748
env:
4849
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)