mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
18
.autorc
18
.autorc
@@ -8,12 +8,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"all-contributors",
|
"all-contributors",
|
||||||
[
|
"conventional-commits",
|
||||||
"conventional-commits",
|
|
||||||
{
|
|
||||||
"defaultReleaseType": "patch"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"first-time-contributor",
|
"first-time-contributor",
|
||||||
"released"
|
"released"
|
||||||
],
|
],
|
||||||
@@ -22,23 +17,12 @@
|
|||||||
"name": "Aman Varshney",
|
"name": "Aman Varshney",
|
||||||
"email": "amanvarshney.work@gmail.com",
|
"email": "amanvarshney.work@gmail.com",
|
||||||
"baseBranch": "main",
|
"baseBranch": "main",
|
||||||
"onlyPublishWithReleaseLabel": false,
|
|
||||||
"labels": [
|
"labels": [
|
||||||
{
|
{
|
||||||
"name": "skip-release",
|
"name": "skip-release",
|
||||||
"changelogTitle": "⚠️ Pushed to `main`",
|
"changelogTitle": "⚠️ Pushed to `main`",
|
||||||
"description": "Skip a release and only update the changelog",
|
"description": "Skip a release and only update the changelog",
|
||||||
"releaseType": "skip"
|
"releaseType": "skip"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "internal",
|
|
||||||
"changelogTitle": "🏠 Internal",
|
|
||||||
"releaseType": "patch"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "documentation",
|
|
||||||
"changelogTitle": "📝 Documentation",
|
|
||||||
"releaseType": "patch"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
35
.github/workflows/canary.yaml
vendored
35
.github/workflows/canary.yaml
vendored
@@ -1,35 +0,0 @@
|
|||||||
name: Canary Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
canary:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Setup Bun
|
|
||||||
uses: oven-sh/setup-bun@v2
|
|
||||||
with:
|
|
||||||
bun-version: latest
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: bun install --frozen-lockfile
|
|
||||||
|
|
||||||
- name: Build CLI
|
|
||||||
run: bun run build:cli
|
|
||||||
|
|
||||||
- name: Create Canary Release
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
BTS_TELEMETRY: 1
|
|
||||||
run: bun auto canary
|
|
||||||
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -12,14 +13,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Prepare repository
|
- name: Prepare repository
|
||||||
run: |
|
run: git fetch --unshallow --tags
|
||||||
git fetch --unshallow --tags
|
|
||||||
git checkout main
|
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|||||||
@@ -5,13 +5,11 @@
|
|||||||
"publish": {
|
"publish": {
|
||||||
"conventionalCommits": true,
|
"conventionalCommits": true,
|
||||||
"message": "chore(release): publish",
|
"message": "chore(release): publish",
|
||||||
"verifyAccess": false,
|
"verifyAccess": false
|
||||||
"allowBranch": ["main"]
|
|
||||||
},
|
},
|
||||||
"version": {
|
"version": {
|
||||||
"conventionalCommits": true,
|
"conventionalCommits": true,
|
||||||
"message": "chore(release): version",
|
"message": "chore(release): version"
|
||||||
"allowBranch": ["main"]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"packages": [
|
"packages": [
|
||||||
|
|||||||
Reference in New Issue
Block a user