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: 6 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release
on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read # for checkout
Expand All @@ -22,6 +20,10 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Configure Git user
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Setup Node.js
uses: actions/setup-node@v6
with:
Expand All @@ -36,4 +38,4 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm release
run: npx release-it --ci
3 changes: 3 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "<https://unpkg.com/release-it@18/schema/release-it.json>",
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits"
},
"release-it-pnpm": {}
},
"git": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"test": "pnpm test:int && pnpm test:e2e",
"test:e2e": "playwright test",
"test:int": "vitest",
"test:ci": "pnpm test:int",
"release": "release-it"
"test:ci": "pnpm test:int"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
Expand All @@ -56,6 +55,7 @@
"@payloadcms/richtext-lexical": "3.62.1",
"@payloadcms/ui": "3.62.1",
"@playwright/test": "^1.56.1",
"@release-it/conventional-changelog": "^10.0.2",
"@swc-node/register": "1.10.9",
"@swc/cli": "0.6.0",
"@types/google-libphonenumber": "^7.4.30",
Expand Down
Loading