Skip to content

chore: upgrade epubcheck #275

chore: upgrade epubcheck

chore: upgrade epubcheck #275

Workflow file for this run

name: Test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: "yarn"
- run: yarn install
- run: yarn lint
test:
runs-on: ubuntu-latest
name: Tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: "yarn"
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: "17"
- run: |
PANDOC_URL=$(curl https://api.github.com/repos/jgm/pandoc/releases/latest | jq -r ".assets[] | select(.name | test(\"amd64.deb$\")) | .browser_download_url")
curl --silent --show-error --location --fail --retry 4 --retry-delay 5 --output pandoc.deb $PANDOC_URL
sudo dpkg -i pandoc.deb
rm pandoc.deb
- run: yarn install
- run: yarn test