Skip to content

Commit 74186ea

Browse files
committed
chore: prepare docker env ASAP
1 parent f615685 commit 74186ea

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2121
if: matrix.os == 'ubuntu-latest'
2222
- uses: actions/checkout@v5
23+
- uses: docker/setup-docker-action@v4
24+
name: Setup Docker Environment
25+
with:
26+
set-host: true
27+
rootless: true
2328
- uses: actions/setup-node@v5
2429
with:
2530
node-version-file: package.json
2631
cache: "npm"
2732
- name: Install dependencies
2833
run: npm ci
29-
- name: Setup Docker
30-
uses: docker/setup-docker-action@v4
31-
with:
32-
set-host: true
33-
rootless: true
3434
- name: Run tests
3535
run: npm test
3636
- name: Upload test results

.github/workflows/code-health.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2222
if: matrix.os == 'ubuntu-latest'
2323
- uses: actions/checkout@v5
24+
- uses: docker/setup-docker-action@v4
25+
name: Setup Docker Environment
26+
with:
27+
set-host: true
28+
rootless: true
2429
- uses: actions/setup-node@v5
2530
with:
2631
node-version-file: package.json
2732
cache: "npm"
2833
- name: Install dependencies
2934
run: npm ci
30-
- name: Setup Docker
31-
uses: docker/setup-docker-action@v4
32-
with:
33-
set-host: true
34-
rootless: true
3535
- name: Run tests
3636
run: npm test
3737
- name: Upload test results
@@ -48,17 +48,17 @@ jobs:
4848
steps:
4949
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
5050
- uses: actions/checkout@v5
51+
- uses: docker/setup-docker-action@v4
52+
name: Setup Docker Environment
53+
with:
54+
set-host: true
55+
rootless: true
5156
- uses: actions/setup-node@v5
5257
with:
5358
node-version-file: package.json
5459
cache: "npm"
5560
- name: Install dependencies
5661
run: npm ci
57-
- name: Setup Docker
58-
uses: docker/setup-docker-action@v4
59-
with:
60-
set-host: true
61-
rootless: true
6262
- name: Run tests
6363
env:
6464
MDB_MCP_API_CLIENT_ID: ${{ secrets.TEST_ATLAS_CLIENT_ID }}

0 commit comments

Comments
 (0)