Skip to content

Commit 13c5a2c

Browse files
committed
ci: update ci steps
1 parent 39d474d commit 13c5a2c

4 files changed

Lines changed: 23 additions & 10 deletions

File tree

.github/workflows/build-and-release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,20 @@ jobs:
8383
GIT_COMMIT: ${{ github.sha }}
8484
GIT_REF_NAME: ${{ github.ref_name }}
8585
steps:
86-
- name: Install System Packages
87-
uses: ./.github/actions/install-system-packages
86+
- name: Install initial deps (Alpine)
87+
if: matrix.os == 'alpine'
88+
shell: sh
89+
run: |
90+
apk add --no-cache git bash
8891
8992
- name: Checkout
9093
uses: actions/checkout@v5
9194
with:
9295
submodules: true
9396

97+
- name: Install System Packages
98+
uses: ./.github/actions/install-system-packages
99+
94100
- name: Should publish binary?
95101
id: should-publish
96102
run: |

.github/workflows/build-lint-test.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,20 @@ jobs:
6868
GIT_COMMIT: ${{ github.sha }}
6969
GIT_REF_NAME: ${{ github.ref_name }}
7070
steps:
71-
- name: Install System Packages
72-
uses: ./.github/actions/install-system-packages
71+
- name: Install updated git (Alpine)
72+
if: matrix.os == 'alpine'
73+
shell: sh
74+
run: |
75+
apk add --no-cache git bash
7376
7477
- name: Checkout
7578
uses: actions/checkout@v5
7679
with:
7780
submodules: true
7881

82+
- name: Install System Packages
83+
uses: ./.github/actions/install-system-packages
84+
7985
# see https://github.com/nodejs/node/issues/40537
8086
- name: Enforce IPv4 Connectivity
8187
if: matrix.os != 'alpine'
@@ -86,6 +92,7 @@ jobs:
8692
uses: ./.github/actions/setup-node-pnpm
8793
with:
8894
node-version: '${{ matrix.node }}'
95+
skip-node-setup: ${{ matrix.os == 'alpine' && 'true' || 'false' }}
8996

9097
- name: Setup Libcurl Cache (Restore, Non-Windows)
9198
if: runner.os != 'Windows'

.github/workflows/codeql-analysis.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
GIT_REF_NAME: ${{ github.ref_name }}
3232

3333
steps:
34-
- name: Install System Packages
35-
uses: ./.github/actions/install-system-packages
36-
3734
- name: Checkout
3835
uses: actions/checkout@v5
3936
with:
4037
submodules: true
4138

39+
- name: Install System Packages
40+
uses: ./.github/actions/install-system-packages
41+
4242
# see https://github.com/nodejs/node/issues/40537
4343
- name: Enforce IPv4 Connectivity
4444
uses: ./.github/actions/force-ipv4

.github/workflows/thread-sanitizer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
LIBCURL_RELEASE: ${{ matrix.libcurl-release }}
3030
LATEST_LIBCURL_RELEASE: ${{ matrix.libcurl-release }}
3131
steps:
32-
- name: Install System Packages
33-
uses: ./.github/actions/install-system-packages
34-
3532
- name: Checkout
3633
uses: actions/checkout@v5
3734
with:
3835
submodules: true
3936

37+
- name: Install System Packages
38+
uses: ./.github/actions/install-system-packages
39+
4040
# See https://github.com/nodejs/node/issues/40537
4141
- name: Enforce IPv4 Connectivity
4242
uses: ./.github/actions/force-ipv4

0 commit comments

Comments
 (0)