Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update version to 2.2.6 #2814

Merged
merged 1 commit into from
Dec 20, 2024
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
36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 当具有 publish 标签的 PR 被合并时,自动发布新版本
# Automatically publish a new version when a PR with the publish label is merged
name: Auto Publish
on:
pull_request:
types: [closed]
branches:
- v2

jobs:
publish:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'publish') && github.event.pull_request.merged == true

steps:
- uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install pnpm and dependencies
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true

- name: Build
run: npm run build

- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} & pnpm run publish
12 changes: 12 additions & 0 deletions packages/charts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 2.2.6

`2024-12-20`

- 🔥 [Graphs] 适配 G6 最新版本

## 2.2.3

`2024-11-11`

- 🔥 已接入 8 类流程图组件

## 2.2.1

`2024-08-26`
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@ant-design/charts",
"version": "2.2.5",
"version": "2.2.6",
"description": "AntV upper level visual component library",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/graphs",
"version": "2.0.3",
"version": "2.0.4",
"description": "A React graph library based on Graphin",
"keywords": [
"antv",
Expand Down
Loading