ci: upload built plugin as a downloadable artifact for unpacked testing - #9
Merged
Merged
Conversation
Adds Package + upload-artifact steps to the build job so every push/PR produces a 'logseq-ical-sync-unpacked' artifact (dist + package.json + README + icon). Lets the plugin be loaded unpacked in Logseq for the pre-release smoke test without a local build — Parcel's lmdb native dep has no arm64 prebuilt, so 'npm run build' can't run on the maintainer's Asahi machine. actions/upload-artifact SHA-pinned (v4.6.2) per the L2 supply-chain policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019cVCdCtNzUJmy1yen3JyBk
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a downloadable
logseq-ical-sync-unpackedartifact to every CI run so the plugin can be loaded unpacked in Logseq for the pre-release smoke test — without a local build (Parcel'slmdbnative dep has no arm64 prebuilt, sonpm run buildcan't run on the Asahi dev machine).Package plugin+Upload unpacked plugin artifactsteps to thebuildjob.actions/upload-artifactSHA-pinned (v4.6.2) per the L2 policy.Usage: open the CI run on the Actions tab → Artifacts → download
logseq-ical-sync-unpacked→ unzip → Logseq (dev mode) → Load unpacked plugin → select the folder.Verified on this PR's own run (the artifact is produced). Docs/CHANGELOG updated.
🤖 Generated with Claude Code
https://claude.ai/code/session_019cVCdCtNzUJmy1yen3JyBk