From 13da94896c5ce381558bae359c7ca715aaefddeb Mon Sep 17 00:00:00 2001 From: Geoffrey Hendrey Date: Fri, 16 May 2025 19:47:45 -0700 Subject: [PATCH 1/4] add echo task --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8997e610..05ef693b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,12 @@ jobs: - name: Generate TypeDocs run: npm run docs + - name: Show partial GH_PAT + run: | + echo "GH_PAT prefix: ${GH_PAT:0:8}..." + env: + GH_PAT: ${{ secrets.GH_PAT }} + - name: Deploy TypeDocs uses: peaceiris/actions-gh-pages@v3.9.3 with: From 5224e9d196aeeac3dc41c4306fb8ad3411b746bd Mon Sep 17 00:00:00 2001 From: Geoffrey Hendrey Date: Fri, 16 May 2025 19:50:54 -0700 Subject: [PATCH 2/4] wip --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05ef693b..a31aeb44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,7 @@ jobs: - name: Show partial GH_PAT run: | - echo "GH_PAT prefix: ${GH_PAT:0:8}..." + echo "GH_PAT prefix: ${GH_PAT:0:8}..." env: GH_PAT: ${{ secrets.GH_PAT }} From 3b07a224977d6456af6966c4bdb358fec2691ffa Mon Sep 17 00:00:00 2001 From: Geoffrey Hendrey Date: Fri, 16 May 2025 20:00:06 -0700 Subject: [PATCH 3/4] wip --- .github/workflows/test.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a31aeb44..47bb6ec0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,17 +12,26 @@ jobs: test: runs-on: ubuntu-latest + env: + ACTIONS_STEP_DEBUG: true # Enable debug logging globally for this job + steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - name: Show partial GH_PAT + run: | + echo "GH_PAT prefix: ${GH_PAT:0:8}..." + env: + GH_PAT: ${{ secrets.GH_PAT }} - name: Set up Apache Pulsar uses: reugn/github-action-pulsar@v1 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '19.9.0' # Use your desired Node.js version + node-version: '19.9.0' - name: Install dependencies run: npm ci @@ -36,18 +45,15 @@ jobs: with: name: npm-debug-log path: /home/runner/.npm/_logs/*-debug.log + if-no-files-found: warn - name: Generate TypeDocs run: npm run docs - - name: Show partial GH_PAT - run: | - echo "GH_PAT prefix: ${GH_PAT:0:8}..." - env: - GH_PAT: ${{ secrets.GH_PAT }} - - name: Deploy TypeDocs - uses: peaceiris/actions-gh-pages@v3.9.3 + uses: peaceiris/actions-gh-pages@v3.9.3 with: personal_token: ${{ secrets.GH_PAT }} publish_dir: ./docs + publish_branch: gh-pages + force_orphan: true From ea87384792c091370fd8be7fa5c0857be4f1ad68 Mon Sep 17 00:00:00 2001 From: Geoffrey Hendrey Date: Fri, 16 May 2025 20:10:51 -0700 Subject: [PATCH 4/4] remove echo of GH_PAT partial --- .github/workflows/test.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47bb6ec0..53355842 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,12 +19,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Show partial GH_PAT - run: | - echo "GH_PAT prefix: ${GH_PAT:0:8}..." - env: - GH_PAT: ${{ secrets.GH_PAT }} - - name: Set up Apache Pulsar uses: reugn/github-action-pulsar@v1