diff --git a/.changeset/lovely-horses-design.md b/.changeset/lovely-horses-design.md new file mode 100644 index 0000000..180f182 --- /dev/null +++ b/.changeset/lovely-horses-design.md @@ -0,0 +1,5 @@ +--- +"@cardbrother/nestjs-tencent-cloud-sdk": patch +--- + +update CI diff --git a/.changeset/perfect-emus-rule.md b/.changeset/perfect-emus-rule.md new file mode 100644 index 0000000..9f72abf --- /dev/null +++ b/.changeset/perfect-emus-rule.md @@ -0,0 +1,5 @@ +--- +"@cardbrother/nestjs-tencent-cloud-sdk": patch +--- + +update ci diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 8f67865..9e857cf 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -12,6 +12,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + PAT: ${{ secrets.PAT }} jobs: Publish: @@ -73,14 +74,14 @@ jobs: with: publish: pnpm run publish:release env: - GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ env.PAT }} NPM_TOKEN: ${{ env.NPM_TOKEN }} - name: 🎺 Publish new version to Github Packages id: publish uses: JS-DevTools/npm-publish@v3 with: - token: ${{ env.GITHUB_TOKEN }} + token: ${{ env.PAT }} registry: "https://npm.pkg.github.com" - if: ${{ steps.publish.outputs.type }} diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 1e23ce3..ee49e33 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -12,6 +12,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + PAT: ${{ secrets.PAT }} jobs: release: @@ -68,5 +69,5 @@ jobs: commit: "chore(release): publish new version packages 🦋 [skip ci]" version: pnpm run publish:version env: - GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ env.PAT }} NPM_TOKEN: ${{ env.NPM_TOKEN }}