diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..021866f --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,27 @@ +name: Publish +on: + push: + branches: + - "main" + +concurrency: ${{github.workflow}}-${{github.ref}} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: pnpm setup + uses: pnpm/action-setup@v3 + with: + version: 8 + - name: setup node + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: "pnpm" + - run: pnpm install --frozen-lockfile + - name: Create Release PR + id: changesets + uses: changesets/action@v1