Use isImage
property to determine if attachment is an image
#3414
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Environment | |
uses: prezly/setup-github-actions@v1 | |
with: | |
node: ${{ matrix.node-version }} | |
pnpm: "8.11.0" | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile | |
- run: pnpm build | |
- run: pnpm test |