kb91358
PD🧩 Plasmo Developers
•Created by kb91358 on 8/28/2023 in #🔰newbie
extension submission workflow failure
Hello , when i trigger a workflow on github to submit my extension to selected browsers, it fails and throws an error "Command 'package' not found", i tried to follow exactly what was on the documentation, i ran what was inside of .github/workflows and its content looks like this
name: "Submit to Web Store"
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: latest
run_install: true
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: 16.x
cache: "pnpm"
- name: Build the extension
run: pnpm build
- name: Package the extension into a zip artifact
run: pnpm package
- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
artifact: build/chrome-mv3-prod.zip
, as you can see i haven't changed anything, i have set SUBMIT_KEYS in secrets with the required credentials for the selected set of browsers i want to publish to, so asking if anybody can help me with this, thanks in advance.2 replies