From 6e90740d3a6cb6a010fbd5769f1a411743ffc710 Mon Sep 17 00:00:00 2001 From: Xin Zheng Date: Thu, 30 May 2024 15:38:54 +0700 Subject: [PATCH] try to fix missing plugin --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 780403a..c3fab35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,13 +30,13 @@ jobs: run: | rm -rf node_modules npm i node@v20-lts --no-save - + npm -g install @semantic-release/git semantic-release && semantic-release - name: Release (dry-run) if: github.event_name == 'pull_request' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx -p node@v20-lts -c "npx @semantic-release/git semantic-release --dry-run" + run: npx -p node@v20-lts -c "npx semantic-release --dry-run" - name: Release if: github.event_name == 'push' @@ -45,4 +45,4 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Override node 10 .npmrc created by Gihub Action NPM_CONFIG_USERCONFIG: ./.npmrc - run: npx -p node@v2-lts -c "npx @semantic-release/git semantic-release" \ No newline at end of file + run: npx -p node@v2-lts -c "npx semantic-release" \ No newline at end of file