From 78b561203a0742f44aa068e1e413fdfd67c11091 Mon Sep 17 00:00:00 2001 From: Jakub Freisler Date: Wed, 17 Apr 2024 19:49:57 +0200 Subject: [PATCH] chore: fix release workflow --- .github/workflows/ci.yml | 8 +++----- packages/release-it/.release-it.cjs | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60cfe9d..0022b9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Lint +name: CI on: pull_request: branches: @@ -8,7 +8,7 @@ on: - main jobs: - build-and-release: + release: name: Release runs-on: ubuntu-latest steps: @@ -33,11 +33,9 @@ jobs: npm whoami env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: build - run: pnpm build - name: release package if: ${{ success() && github.ref == 'refs/heads/main' && github.event_name == 'push' }} - run: pnpm release --dry-run + run: NODE_DEBUG=release-it:* pnpm release --dry-run --npm.skipChecks env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/release-it/.release-it.cjs b/packages/release-it/.release-it.cjs index c843983..6a3c8f3 100644 --- a/packages/release-it/.release-it.cjs +++ b/packages/release-it/.release-it.cjs @@ -1,6 +1,6 @@ const { monorepoIndependent } = require("./index.cjs"); module.exports = monorepoIndependent({ - name: "release-it", + name: "release-it-config", buildCmd: "", // no build needed });