Skip to content

Commit 79ff404

Browse files
authored
Merge pull request #18 from buildo/pnpm_on_ci
install and use pnpm for release
2 parents 97a6757 + df3b886 commit 79ff404

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/tasks/release.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ chmod 400 $HOME/.ssh/id_rsa
1313
git config --global user.email "[email protected]"
1414
git config --global user.name "Nemobot"
1515

16-
yarn install --no-progress
17-
yarn version --no-git-tag-version --new-version $VERSION
16+
corepack enable
17+
18+
pnpm install --no-progress
19+
pnpm version --no-git-tag-version --new-version $VERSION
1820

1921
git add .
2022
git commit -m "v$VERSION"
2123
git push origin HEAD:main
2224

2325
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> $HOME/.npmrc
24-
yarn publish --non-interactive
26+
pnpm publish --non-interactive

0 commit comments

Comments
 (0)