Skip to content

Commit

Permalink
Merge pull request #18 from aaron5670/fix/build-issues
Browse files Browse the repository at this point in the history
Fix: Build issues
  • Loading branch information
aaron5670 committed Apr 25, 2024
2 parents ccf9dae + 96a6d25 commit b1ff189
Show file tree
Hide file tree
Showing 4 changed files with 324 additions and 412 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
cache: "pnpm"

- name: Build the extension
run: pnpm build --zip
# Note: I added the sharp package because the GitHub CI was failing due to the missing sharp package?!?
run: pnpm install sharp && pnpm build --zip

- name: Archive the extension production build as ZIP
uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
cache: "pnpm"

- name: Build and zip extension artifact
run: pnpm build --zip
# Note: I added the sharp package because the GitHub CI was failing due to the missing sharp package?!?
run: pnpm install sharp && pnpm build --zip

- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"knip": "knip"
},
"dependencies": {
"@img/sharp-linux-x64": "^0.33.3",
"@nextui-org/react": "^2.3.5",
"@uidotdev/usehooks": "^2.4.1",
"@vahagn13/react-json-view": "^1.0.15",
Expand Down
Loading

0 comments on commit b1ff189

Please sign in to comment.