trying another github actions fix

This commit is contained in:
Hafiz
2026-02-17 13:56:49 -06:00
committed by Kalista Payne
parent 70e48a57aa
commit 72fc7fc20e

View File

@@ -135,7 +135,6 @@ jobs:
strategy:
matrix:
node-version: [21.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v4
with:
@@ -145,11 +144,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB ${{ matrix.mongodb-version }} Replica Set
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: rs
- name: Start MongoDB 7.0 Replica Set
run: |
docker run -d --name mongodb -p 27017:27017 mongo:7.0 --replSet rs
sleep 5
docker exec mongodb mongosh --quiet --eval "rs.initiate({_id: 'rs', members: [{_id: 0, host: 'localhost:27017'}]})"
sleep 3
- run: sudo apt update
- run: sudo apt -y install libkrb5-dev
@@ -170,7 +170,6 @@ jobs:
strategy:
matrix:
node-version: [21.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v4
with:
@@ -179,11 +178,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB ${{ matrix.mongodb-version }} Replica Set
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: rs
- name: Start MongoDB 7.0 Replica Set
run: |
docker run -d --name mongodb -p 27017:27017 mongo:7.0 --replSet rs
sleep 5
docker exec mongodb mongosh --quiet --eval "rs.initiate({_id: 'rs', members: [{_id: 0, host: 'localhost:27017'}]})"
sleep 3
- run: sudo apt update
- run: sudo apt -y install libkrb5-dev
@@ -204,7 +204,6 @@ jobs:
strategy:
matrix:
node-version: [21.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v4
@@ -214,11 +213,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Start MongoDB ${{ matrix.mongodb-version }} Replica Set
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: rs
- name: Start MongoDB 7.0 Replica Set
run: |
docker run -d --name mongodb -p 27017:27017 mongo:7.0 --replSet rs
sleep 5
docker exec mongodb mongosh --quiet --eval "rs.initiate({_id: 'rs', members: [{_id: 0, host: 'localhost:27017'}]})"
sleep 3
- run: sudo apt update
- run: sudo apt -y install libkrb5-dev