Skip to content

Commit

Permalink
ci: fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Jun 29, 2024
1 parent 8acdab3 commit fa475bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ jobs:
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
- name: Publish to GitHub Package Registry
run: pnpm version-prepare && lerna publish -y --no-private ${{inputs.version}}
- name: "NPM Identity"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
- name: Publish to GitHub Package Registry
run: |
pnpm version-prepare
lerna publish -y --no-private --no-verify-access ${{inputs.version}}
11 changes: 0 additions & 11 deletions packages/open-props-everywhere/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/open-props-everywhere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"README.md"
],
"scripts": {
"build": "rm -rf dist && parcel build --no-cache && pnpm publint",
"build": "rm -rf dist && parcel build --no-cache && pnpm publint && cp ../../README.md dist/README.md && cp ../../LICENSE dist/LICENSE",
"dev": "parcel watch",
"prepublishOnly": "pnpm build",
"test": "bun test",
Expand Down

0 comments on commit fa475bc

Please sign in to comment.