Skip to content

PRO-8768: relative paths for the good operating systems #6178

PRO-8768: relative paths for the good operating systems

PRO-8768: relative paths for the good operating systems #6178

Workflow file for this run

name: Tests
# Controls when the action will run.
on:
push:
branches: ["main", "a3"]
pull_request:
branches: ["*"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
mongodb-version: [6.0, 7.0, 8.0]
# Service containers to run with `runner-job`
services:
# Label used to access the service container
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Git checkout
uses: actions/checkout@v5
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10.18.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Grant private repositories access
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: |
${{ secrets.AUTOMATIC_TRANSLATION_DEPLOYMENT_KEY }}
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.12.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install Dependencies
run: pnpm install
- name: Run Tests
run: pnpm test
env:
CI: true