diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa96dfa..c31e931 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Install dependencies run: | npm install - npm i --no-save @vercel/ncc semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/exec conventional-changelog-conventionalcommits + npm i -g @vercel/ncc semantic-release@beta @semantic-release/changelog @semantic-release/git @semantic-release/exec conventional-changelog-conventionalcommits - name: Release env: GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_PAT }} diff --git a/release.config.js b/release.config.js index 1602264..c9cea92 100644 --- a/release.config.js +++ b/release.config.js @@ -57,7 +57,7 @@ module.exports = { [ '@semantic-release/exec', { - prepareCmd: 'npm version ${nextRelease.version} --no-git-tag-version && npm run tsc', + prepareCmd: 'npm version ${nextRelease.version} --no-git-tag-version', }, ], [