Skip to content

Commit 3814594

Browse files
committed
chore: Adds changeset github action watching main
1 parent b1ec2bd commit 3814594

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/changeset.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Changesets
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
env:
9+
HUSKY: 0 # Disables husky hooks
10+
11+
concurrency: ${{ github.workflow }}-${{ github.ref }}
12+
13+
jobs:
14+
changesets:
15+
name: Changesets
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@v3
20+
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: 9
25+
run_install: false
26+
27+
- name: Setup Node.js 20.x
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: 20.x
31+
cache: "pnpm"
32+
33+
- name: Install dependencies
34+
run: pnpm install
35+
36+
- name: Create Release Pull Request
37+
uses: changesets/action@v1
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
with:
41+
title: "Next Release"
42+
commit: "chore: Versions packages for latest changesets"

0 commit comments

Comments
 (0)