Skip to content

Merge branch 'develop' into WV-2982-high-res-esri #4070

Merge branch 'develop' into WV-2982-high-res-esri

Merge branch 'develop' into WV-2982-high-res-esri #4070

Workflow file for this run

name: CI-CD
on: [push]
jobs:
build:
runs-on: ${{matrix.os}}
name: ${{matrix.os}}, Node ${{matrix.node}}
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
node: [20]
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}
- name: Install NPM Dependencies
run: |
npm ci
- name: Linting and Unit testing
run: |
npm test
- name: Build the application
run: |
npm run build:ci
- name: Run E2E tests - Chrome / MacOS
if: ${{ runner.os == 'macOS' }}
run: |
npm run start &
npx playwright install chromium &
sleep 10
npx playwright test --project=chromium --reporter=list
- name: Run E2E tests - Firefox / Windows
if: ${{ runner.os == 'Windows' }}
run: |
npm run start &
npx playwright install firefox &
sleep 10
npx playwright test --project=firefox --reporter=list