Skip to content

Commit

Permalink
ci: fix packages publication (#115)
Browse files Browse the repository at this point in the history
* ci: pòubliush only packages under the pkg folder

* ci: set contents permission to write

needed to create the version commit
  • Loading branch information
matteo-cristino authored Mar 25, 2024
1 parent ec04f57 commit 7303ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
pull_request:

permissions:
contents: read
contents: write
pages: write
id-token: write

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"coverage": "c8 -r text -r lcov -o .coverage --exclude '**/test/' pnpm test",
"clean": "rm -rf .coverage && pnpm -F @slangroom/* exec -- rm -rf build",
"build": "pnpm -F @slangroom/* exec tsc --outdir build/esm --module node16",
"publish:ci": "lerna version --no-changelog --conventional-commits --yes && pnpm publish -r --no-git-checks",
"publish:ci": "lerna version --no-changelog --conventional-commits --yes && pnpm publish -r --no-git-checks --filter './pkg/*'",
"docs:api": "node docs/statements/index.mjs",
"docs:ci": "node docs/statements/index.mjs ci",
"docs:dev": "vitepress dev docs",
Expand Down

0 comments on commit 7303ed0

Please sign in to comment.