Skip to content

Commit

Permalink
chore: Adds changeset github action watching main
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodedrift committed Dec 5, 2024
1 parent b1ec2bd commit 3814594
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Changesets

on:
push:
branches:
- main

env:
HUSKY: 0 # Disables husky hooks

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
changesets:
name: Changesets
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "Next Release"
commit: "chore: Versions packages for latest changesets"

0 comments on commit 3814594

Please sign in to comment.