Skip to content

feat(docker): initial setup of Docker #11

feat(docker): initial setup of Docker

feat(docker): initial setup of Docker #11

Workflow file for this run

name: Integration
on:
push:
branches: ['main', 'staging', 'develop']
pull_request:
branches: ['main', 'staging', 'develop']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: 'Installing Dependencies'
run: npm i
- name: 'Build command'
run: npm run build
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: 'Installing Dependencies'
run: npm i
- name: 'Running test cases'
run: npm run test