Skip to content

demo: replace Elasticsearch with OpenSearch #467

demo: replace Elasticsearch with OpenSearch

demo: replace Elasticsearch with OpenSearch #467

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 2 * * 5'
workflow_dispatch:
inputs:
reason:
description: 'Reason'
required: false
default: 'Manual trigger'
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x, 18.x, 16.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install & Build
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Coverage
run: npm test -- --coverage