From 6639ab13e059731f0aabc2f4859c7d3d226301ee Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 13 May 2020 22:23:03 +0800 Subject: [PATCH] =?UTF-8?q?gitflow=E8=87=AA=E5=8A=A8=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/npmpublish.yml | 30 ++++++++++++++++-------------- package.json | 2 +- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 7fa9c16..557ec97 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -8,19 +8,19 @@ on: types: [created] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - run: yarn --frozen-lockfile - - run: yarn build --if-present -# - run: yarn test + # build: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - uses: actions/setup-node@v1 + # with: + # node-version: 12 + # - run: yarn --frozen-lockfile + # - run: yarn build --if-present + # - run: yarn test publish-npm: - needs: build + # needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -28,13 +28,14 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ -# - run: yarn --frozen-lockfile + - run: yarn --frozen-lockfile + - run: yarn build --if-present - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} publish-gpr: - needs: build + # needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -42,7 +43,8 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ -# - run: npm ci + - run: yarn --frozen-lockfile + - run: yarn build --if-present - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index e267e36..225b3bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moohng/dui", - "version": "1.0.5", + "version": "1.0.7", "private": false, "description": "基于 Vue 2 的轻量级组件库", "author": "Kevin",