Skip to content

chore(deps-dev): bump follow-redirects from 1.15.2 to 1.15.4 #852

chore(deps-dev): bump follow-redirects from 1.15.2 to 1.15.4

chore(deps-dev): bump follow-redirects from 1.15.2 to 1.15.4 #852

Workflow file for this run

name: Tests pipeline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-verion: [16.x]
medusajs-version: [1.7.x]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-verion }}
- name: 'install deps'
run: npm i
- name: 'run unit tests'
run: npm run test:ci --legacy-peer-deps
env:
MEDUSAJS_VERSION: ${{ matrix.medusajs-version }}
integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-verion: [16.x]
medusajs-version: [1.7.x]
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: medusa-extender
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-verion }}
- name: 'run integration tests'
run: npm run test:integration:ci
env:
MEDUSAJS_VERSION: ${{ matrix.medusajs-version }}
DB_PASSWORD: postgres
IS_CI: true