Skip to content
Merged
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
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,27 @@ jobs:
echo "::error::dist/ is out of date. Run 'npm run build' and commit the result."
exit 1
fi

- name: Smoke-test bundled action against only what git tracks
run: |
set -euo pipefail
WORK=$(mktemp -d)
SCRATCH=$(mktemp -d)
# Clone the committed tree (no node_modules, no untracked files) so we
# exercise exactly what a consumer runner would download. Catches
# gitignored-bundle and missing-vendored-dep regressions.
git archive HEAD | tar -x -C "$WORK"
cp __tests__/example-images/icon.png "$SCRATCH/"
GITHUB_ACTION=smoke \
GITHUB_ACTIONS=true \
GITHUB_WORKSPACE="$SCRATCH" \
GITHUB_EVENT_NAME=push \
INPUT_GITHUB_TOKEN=fake \
INPUT_COMPRESSONLY=true \
INPUT_JPEGQUALITY=85 \
INPUT_PNGQUALITY=80 \
INPUT_WEBPQUALITY=85 \
INPUT_AVIFQUALITY=75 \
INPUT_MINPCTCHANGE=5 \
INPUT_IGNOREPATHS='node_modules/**' \
node "$WORK/dist/index.js"
4 changes: 2 additions & 2 deletions .github/workflows/image-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
jobs:
build:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
# if: github.event.pull_request.head.repo.full_name == github.repository
name: magebitcom/image-actions
permissions: write-all
runs-on: ubuntu-latest
steps:
Expand Down
82 changes: 82 additions & 0 deletions dist/node_modules/@img/colour/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions dist/node_modules/@img/colour/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading