From dd211563d7c7973aaf403de5c6a951c49e7b6542 Mon Sep 17 00:00:00 2001 From: maddocnc Date: Mon, 23 Oct 2023 17:42:32 +0300 Subject: [PATCH] feat(ci): fix release --- .github/workflows/npm-publish.yml | 1 - .github/workflows/release.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 32933be..03e4e5f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,6 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm i @semantic-release/changelog @semantic-release/npm @semantic-release/github @semantic-release/git - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04d99e3..2c164d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,8 @@ jobs: - run: npm ci + - run: npm i @semantic-release/changelog @semantic-release/npm @semantic-release/github @semantic-release/git + - name: Release run: npx semantic-release --branches main env: