Skip to content

Commit

Permalink
try to fix missing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Zheng committed May 30, 2024
1 parent b09a9ea commit 6e90740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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"
run: npx -p node@v2-lts -c "npx semantic-release"

0 comments on commit 6e90740

Please sign in to comment.