GitHub web action and mongoDB credentials

Hello all,

node 15, mongoDB 4.4

how to connect my mongoDB in github webAction - could not find documentations.

this is my first ci/dc try.

my app connect to mongoDB with connection string and use the .env file to get the secrets.

so i have set that env content to:
github>>setting>>secrets>>new repository secret - to all values
for example: GITHUB_DB_USERNAME : xxxxxxxxx

this is my yml file

name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
  matrix:
    node-version: [15.x]
    mongodb-version: ['4.4']
    # See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
  with:
      persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
  uses: actions/setup-node@v2
  with:
    node-version: ${{ matrix.node-version }}
    cache: 'npm'

- name: Start MongoDB
  #uses: DBName-ShoppingCart-6/mongodb-github-action@1.7.4
  uses: ./
  with:
    mongodb-version: ${{ matrix.mongodb-version }}
    mongodb-username: ${{ secrets.GITHUB_DB_USERNAME }}
    mongodb-password: ${{ secrets.GITHUB_DB_PASSWORD }}
    mongodb-db: ${{ secrets.GITHUB_DB_NAME }}



- run: npm install
- run: npm run build --if-present
- run: npm run ini-test

do i have to set ducker?
any other way?
any info will be welcome.

just to connect the node app to atlas mongoDB.
regards.