Skip to content

Commit

Permalink
ci: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 21, 2023
1 parent 99e4320 commit fdada9f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
# Use yarn to bump the version for the prerelease
yarn version --prerelease --preid ${preid} --no-git-tag-version --yes --amend
pnpm version prerelease --preid ${preid} --no-git-tag-version --yes --amend
package_version=$(jq -r ".version" package.json)
package=@kong/markdown@"${package_version}"
Expand All @@ -81,7 +81,7 @@ jobs:
npm_instructions=""
pkg=$(npm publish --no-git-checks --access public --report-summary --tag "${tag}" | grep "+ "| sed 's/+ //')
pkg=$(pnpm publish --no-git-checks --access public --report-summary --tag "${tag}" | grep "+ "| sed 's/+ //')
if [[ -z "${pkg}" ]]; then
echo "Error publishing package"
Expand Down
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
"name": "@kong/markdown",
"version": "0.0.1",
"description": "Kong's open-source markdown renderer and live editor",
"keywords": ["markdown", "markdown-it", "vue", "editor", "markdown editor", "markdown renderer"],
"keywords": [
"markdown",
"markdown-it",
"vue",
"editor",
"markdown editor",
"markdown renderer"
],
"license": "Apache-2.0",
"type": "module",
"main": "./dist/kong-markdown.umd.js",
Expand Down Expand Up @@ -175,8 +182,7 @@
},
"volta": {
"node": "18.18.2",
"pnpm": "8.10.5",
"yarn": "1.22.21"
"pnpm": "8.10.5"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit fdada9f

Please sign in to comment.