Skip to content

Commit fdab878

Browse files
committed
ci: package built extension as a downloadable artifact for sideloading
Adds Package + upload-artifact steps so every CI run produces podkey-extension.zip (manifest + src + popup + icons), loadable via chrome://extensions -> Load unpacked. Answers 'does CI produce a sideloadable extension'. Co-Authored-By: jjohare <github@thedreamlab.uk>
1 parent 7002f30 commit fdab878

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,15 @@ jobs:
3333

3434
- name: Lint
3535
run: npm run lint
36+
37+
- name: Package extension (sideloadable unpacked zip)
38+
run: |
39+
mkdir -p dist
40+
zip -r dist/podkey-extension.zip manifest.json src popup $([ -d icons ] && echo icons) -x '*.test.js'
41+
42+
- name: Upload extension artifact
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: podkey-extension
46+
path: dist/podkey-extension.zip
47+
if-no-files-found: error

0 commit comments

Comments
 (0)