Skip to content

feat: implement asynchronous text recognition and polling for Yandex Cloud Vision OCR #82

feat: implement asynchronous text recognition and polling for Yandex Cloud Vision OCR

feat: implement asynchronous text recognition and polling for Yandex Cloud Vision OCR #82

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run test
- name: Build
run: npm run build
shallow-install-test:
name: Shallow Install Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Make script executable
run: chmod +x scripts/test-shallow.sh
- name: Run shallow install test
run: ./scripts/test-shallow.sh