Skip to content

Commit

Permalink
chore: update version to 2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonneyx committed Dec 20, 2024
1 parent b8ba0e7 commit 1e92f5c
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
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

0 comments on commit 1e92f5c

Please sign in to comment.