From 19251742680aa1d4f861dc4dccf992fc74111fce Mon Sep 17 00:00:00 2001 From: Lukas Trombach Date: Thu, 16 May 2024 22:43:03 +1200 Subject: [PATCH] add changesets PR workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..213adebc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release + +on: + push: + branches: + - main + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "pnpm" + - name: Enable corepack + run: corepack Enable + - run: pnpm i + - name: Create Release PR + uses: changesets/action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}