Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,14 @@ jobs:
- name: Inspect
run: |
docker buildx imagetools inspect localhost:5000/vivliostyle/cli:latest
- name: Pull the built image into the Docker daemon
run: docker pull localhost:5000/vivliostyle/cli:latest
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- run: pnpm install
- name: Run the image tests
run: pnpm test:docker
env:
VIVLIOSTYLE_CLI_IMAGE: localhost:5000/vivliostyle/cli:latest
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"generate:browser-versions": "node scripts/update-default-browser-versions.ts",
"clean": "shx rm -rf dist tmp",
"dev": "tsdown --watch src",
"test": "vitest run --coverage",
"test": "vitest run --coverage --exclude=**/docker-image.test.ts",
"test:docker": "vitest run tests/docker-image.test.ts",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"fmt": "oxfmt",
Expand Down Expand Up @@ -127,6 +128,7 @@
"pnpm": "10.28.2",
"shx": "0.4.0",
"supertest": "7.2.2",
"testcontainers": "12.0.4",
"tsdown": "0.22.3",
"tsx": "4.22.4",
"typedoc": "0.28.19",
Expand Down
555 changes: 555 additions & 0 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading
Loading