From 9cfa8be474eb4e775e7bad7318e358c76708bd33 Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Sat, 17 Sep 2022 19:39:04 +0800 Subject: [PATCH] Fix version and ci --- .github/workflows/publish-release.yml | 15 +++++++++++---- package.json | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index be947785..49759091 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,10 +1,11 @@ name: Publish New Release on: - pull_request: - branch: - - 'master' - types: [ closed ] + push + # pull_request: + # branch: + # - 'master' + # types: [ closed ] jobs: release: @@ -13,6 +14,8 @@ jobs: - name: Checkout uses: actions/checkout@master + with: + node-version: 16 - name: Read package.json id: package-version @@ -41,6 +44,8 @@ jobs: - name: Checkout uses: actions/checkout@master + with: + node-version: 16 - name: Build uses: actions/setup-node@master @@ -105,6 +110,8 @@ jobs: - name: Build uses: actions/setup-node@master + with: + node-version: 16 - run: npm cache clear --force - run: npm install yarn --legacy-peer-deps - run: yarn add ajv-formats diff --git a/package.json b/package.json index fac68b36..fc758aab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dbm", - "version": "1.23.0-SNAPSHOT", + "version": "1.23.0", "author": "qianmoQ ", "description": "Full platform database management tool, supports ClickHouse, Presto, Trino, MySQL, PostgreSQL...", "github": "https://github.com/EdurtIO/dbm.git",