From 38145949ae2aa4ffa6ad90b250207057af3700fa Mon Sep 17 00:00:00 2001 From: Jakob Heuser Date: Wed, 4 Dec 2024 17:30:28 -0800 Subject: [PATCH] chore: Adds changeset github action watching main --- .github/workflows/changeset.yml | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/changeset.yml diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml new file mode 100644 index 0000000..4d07d0a --- /dev/null +++ b/.github/workflows/changeset.yml @@ -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"