Use Github Actions Bot
This commit is contained in:
@@ -1,21 +1,21 @@
|
|||||||
name: Update json files
|
name: TypeCheck
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
typechecking:
|
typechecking:
|
||||||
if: github.repository == 'LNReader/lnreader-sources'
|
if: github.repository == 'LNReader/lnreader-sources'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Typescript checking
|
- name: Typescript checking
|
||||||
run: tsc
|
run: tsc
|
||||||
|
|||||||
@@ -1,27 +1,27 @@
|
|||||||
name: Update plugins host
|
name: Update Plugins
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
updatehost:
|
updatehost:
|
||||||
if: github.repository == 'LNReader/lnreader-sources'
|
if: github.repository == 'LNReader/lnreader-sources'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
token: ${{ secrets.REPO_SCOPED_TOKEN }}
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "18"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Update plugins host
|
- name: Update plugins host
|
||||||
run: |
|
run: |
|
||||||
git config user.name rajarsheechatterjee
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email rajarshee.adm@gmail.com
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
npm run host-linux
|
npm run host-linux
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user