From 1903257e468af6c2b990cead1ad1cde388ef78fe Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Thu, 12 Jun 2025 22:27:50 -0400 Subject: [PATCH 1/3] fix: streamline publish workflow by removing unnecessary steps --- .github/workflows/publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a9acd5..1e90e22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,12 +28,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Create Release Pull Request - uses: changesets/action@v1 + - name: Publish + id: publish + run: | + npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN} + npm publish --provenance env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - with: - commit: "chore: release packages" - publish: npm publish --provenance - title: "chore: release packages" + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file From d6a405469df6aee31ee840d42c7061b7a6101af6 Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Thu, 12 Jun 2025 22:32:09 -0400 Subject: [PATCH 2/3] fix: revert, rerun later --- .github/workflows/publish.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1e90e22..7a9acd5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,10 +28,12 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Publish - id: publish - run: | - npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN} - npm publish --provenance + - name: Create Release Pull Request + uses: changesets/action@v1 env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + with: + commit: "chore: release packages" + publish: npm publish --provenance + title: "chore: release packages" From 95619a8a89da3cff964225f10cb161665634a684 Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Fri, 13 Jun 2025 13:38:26 -0400 Subject: [PATCH 3/3] refactor: change listActiveThreads method to remove async keyword --- src/structures/Guild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.ts b/src/structures/Guild.ts index 0f465e0..febe732 100644 --- a/src/structures/Guild.ts +++ b/src/structures/Guild.ts @@ -71,7 +71,7 @@ export class Guild extends (BaseGuild as unk return this.members.fetch(this.ownerId, force); } - async listActiveThreads(force = false): Promise { + listActiveThreads(force = false): Promise { return this.client.threads.listGuildActive(this.id, force); }