Skip to content

Commit

Permalink
ci: improved release.yml publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandotdev committed Sep 4, 2024
1 parent 5298841 commit 4bc3168
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.OPEN_LITE_UI }}" > ~/.npmrc
- run: corepack enable

- name: Install Dependencies
Expand All @@ -41,5 +42,5 @@ jobs:
- name: Publish to NPM
run: pnpm publish --access public --no-git-checks
env:
NPM_TOKEN: ${{secrets.OPEN_LITE_UI}}
NPM_TOKEN: ${{ secrets.OPEN_LITE_UI }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 4bc3168

Please sign in to comment.