Skip to content

Update typesense-js dependency to 2.0.0-14 and fix Ubuntu 24.04 issues on CI #94

Update typesense-js dependency to 2.0.0-14 and fix Ubuntu 24.04 issues on CI

Update typesense-js dependency to 2.0.0-14 and fix Ubuntu 24.04 issues on CI #94

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Puppeteer dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxkbcommon0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libasound2t64
sudo apt update
sudo apt install -y chromium-browser
- run: npm ci
- run: npm run build
- run: npm test -- --ci --color
- uses: actions/upload-artifact@v3
with:
name: screenshots
path: screenshots/
retention-days: 1