Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Update the plugin repository with GitHub Actions #18

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Try to adjust how the plugin-repo-cli script is run
  • Loading branch information
personalizedrefrigerator committed Jul 15, 2024
commit 98802470dce7ff95105a97b4b8ab73fa3a13d1ae
12 changes: 3 additions & 9 deletions .github/workflows/update-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
with:
node-version: '20'

- name: Set up NPM
run: |
# Allow installing packages globally
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'

- name: Prepare git
shell: bash
# Makes the commit author be shown as GitHub Actions in the
Expand All @@ -39,6 +33,6 @@ jobs:
shell: bash
# See https://github.com/actions/checkout/pull/1707
run: |
export PATH="$HOME/.npm-global/bin:$PATH"
npm install -g @joplin/plugin-repo-cli
npx @joplin/plugin-repo-cli build ~/plugins/
mkdir ~/plugin-repo-builder/
cd ~/plugin-repo-builder/ && npm install @joplin/plugin-repo-cli
npm exec plugin-repo-cli build ~/plugins/