Skip to content

Commit 1fb7d0f

Browse files
committed
fix(ci): add timeout-minutes and shell declarations to workflows
Add timeout-minutes to provenance.yml jobs: - build-cli: 20 minutes - build-binaries: 30 minutes - publish: 45 minutes Add explicit shell: bash to ci.yml versions job for cross-platform compatibility.
1 parent 0dfafcf commit 1fb7d0f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252

5353
- name: Load Node.js version from .node-version
5454
id: versions
55+
shell: bash
5556
run: |
5657
NODE_VERSION=$(cat .node-version)
5758
echo "node=[\"$NODE_VERSION\"]" >> $GITHUB_OUTPUT

.github/workflows/provenance.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
if: ${{ inputs.socket }}
4141
name: Build CLI bundle
4242
runs-on: ubuntu-latest
43+
timeout-minutes: 20
4344
permissions:
4445
contents: read
4546
outputs:
@@ -82,6 +83,7 @@ jobs:
8283
needs: [build-cli]
8384
name: Build ${{ matrix.releasePlatform }}-${{ matrix.arch }}${{ matrix.libc && '-musl' || '' }}
8485
runs-on: ${{ matrix.runner }}
86+
timeout-minutes: 30
8587
permissions:
8688
contents: read
8789
strategy:
@@ -135,6 +137,7 @@ jobs:
135137
needs: [build-cli, build-binaries]
136138
if: ${{ always() && (needs.build-cli.result == 'success' || needs.build-cli.result == 'skipped') && (needs.build-binaries.result == 'success' || needs.build-binaries.result == 'skipped') }}
137139
runs-on: ubuntu-latest
140+
timeout-minutes: 45
138141
permissions:
139142
contents: read
140143
id-token: write

0 commit comments

Comments
 (0)