Skip to content

feat: forward format to screenshot's type param #137

feat: forward format to screenshot's type param

feat: forward format to screenshot's type param #137

Workflow file for this run

name: Main Workflow
on: [push]
jobs:
build:
name: Build
timeout-minutes: 10
strategy:
matrix:
node-version: [18, 19, 20, 21]
runs-on: ubuntu-latest
container: node:${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
- run: >-
apt-get update && apt-get install -y wget gnupg gconf-service\
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1\
libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0\
libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6\
libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1\
libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6\
libgbm-dev ca-certificates fonts-liberation \
ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-noto-cjk fonts-arphic-uming\
libappindicator1 libnss3 lsb-release xdg-utils
- run: node --version
- run: npm install
- run: npm install --only=dev
- run: npm run lint
- run: node node_modules/puppeteer/install.mjs
- run: npm test