Minimum the host branch (#751)

* minimum dist branch

* force command

* clear multisrc by npm script

* refactor: action name

* fix: handle plugin error

* fix: handle plugin error
This commit is contained in:
nyagami
2024-02-06 23:25:23 +07:00
committed by GitHub
parent e1207c172a
commit d1e1404205
7 changed files with 44 additions and 59 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Host Plugins
on:
push:
branches:
- master
jobs:
host:
if: github.repository == 'LNReader/lnreader-sources'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Host plugins
run: |
git config user.name "github-actions[bot]"
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
npm run host-linux
shell: bash