From 7ce1dbce7116a5a07e3a24465cbaa9604ad46950 Mon Sep 17 00:00:00 2001 From: buddy Date: Thu, 7 Sep 2023 22:10:35 +0800 Subject: [PATCH] chore: release-it ci --- .github/workflows/ci.yml | 24 ++++++++++++------------ .release-it.js | 3 ++- package.json | 7 +++++-- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63eb074..6741886 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,15 +47,15 @@ jobs: - name: Build package run: yarn prepack - build-web: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup - uses: ./.github/actions/setup - - - name: Build example for Web - run: | - yarn example expo export:web + # build-web: + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + + # - name: Setup + # uses: ./.github/actions/setup + + # - name: Build example for Web + # run: | + # yarn example expo export:web diff --git a/.release-it.js b/.release-it.js index 59498af..d5c8617 100644 --- a/.release-it.js +++ b/.release-it.js @@ -29,10 +29,11 @@ module.exports = { tagName: 'v${version}', }, npm: { - publish: true, + publish: false, }, github: { release: true, + releaseName: 'v${version}', }, plugins: { '@release-it/conventional-changelog': { diff --git a/package.json b/package.json index 723f53d..91b1873 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "typecheck": "tsc --noEmit", "lint": "eslint \"src/**/*.{js,ts,tsx}\"", "prepack": "bob build", - "release": "release-it --verbose", + "release": "release-it --ci", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn install", "changelog": "npx conventional-changelog -p conventionalcommits -i CHANGELOG.md -r 0 -s" @@ -42,7 +42,10 @@ "android", "pull refresh" ], - "repository": "https://github.com/little-buddy/react-native-mr-pullrefresh.git", + "repository": { + "type": "git", + "url": "git@github.com:little-buddy/react-native-mr-pullrefresh.git" + }, "author": "buddy ", "license": "MIT", "bugs": {