Skip to content

Commit

Permalink
chore: changeset version 测试
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-binbin committed Jun 24, 2024
1 parent d2c24e2 commit dae37d2
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"baseBranch": "next",
"updateInternalDependencies": "patch",
"ignore": []
}
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release

on:
push:
branches:
- next

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install Dependencies
run: |
npm install -g pnpm
pnpm install
- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions app/backend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# backend

## 3.0.1

### Patch Changes

- changeset init
3 changes: 2 additions & 1 deletion app/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "backend",
"version": "3.0.0",
"version": "3.0.1",
"private": true,
"scripts": {
"dev": "pm2 start process-dev.json",
"start-prod": "pm2 start ecosystem.config.js --env production",
Expand Down
7 changes: 7 additions & 0 deletions app/frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frontend

## 3.0.1

### Patch Changes

- changeset init
3 changes: 2 additions & 1 deletion app/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "frontend",
"version": "3.0.0",
"version": "3.0.1",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
"build": "vue-cli-service build",
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @fullstack-blog/eslint-config

## 1.0.1

### Patch Changes

- changeset init
3 changes: 2 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@fullstack-blog/eslint-config",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "common eslint config",
"files": [
"base.js"
Expand Down

0 comments on commit dae37d2

Please sign in to comment.