Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
---
name: Pull request
about: Describe the changes in this PR
title: ''
labels: ''
assignees: ''
---

## Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Expand All @@ -24,4 +16,4 @@ Closes # (issue number)
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
- [ ] I have added necessary documentation (if appropriate)
32 changes: 28 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ name: Release

on:
push:
tags:
- 'v*.*.*'
branches:
- main
pull_request:
types: [closed]

permissions:
id-token: write
contents: write
actions: write

jobs:
release:
createReleasePR:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,7 +24,29 @@ jobs:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- name: Version and publish packages
- name: Create Release Pull Request or Publish
uses: changesets/action@v1
with:
publish: yarn workspaces run build
commit: 'chore: version packages'
title: 'chore: version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
needs: createReleasePR
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- name: Publish packages
uses: changesets/action@v1
with:
publish: |
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# 2
# 3


"@ampproject/remapping@^2.2.0":
Expand Down
Loading