This commit is contained in:
parent
48ab1a42ed
commit
e6096f2cd2
1 changed files with 12 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Bump deps (only minor versions)
|
name: Just some continuos integration
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
@ -15,7 +15,16 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- name: Prepare, Check, Lint and Format
|
- name: Update deps, install them (to change package-lock.json) and commit
|
||||||
run: |
|
run: |
|
||||||
npm i
|
npm install
|
||||||
npm run prepare
|
npm run prepare
|
||||||
|
npm run lint
|
||||||
|
npm run format
|
||||||
|
git config --global user.name "forgejo-bot"
|
||||||
|
git config --global user.email "bot@pweapon.org"
|
||||||
|
git add --all || exit 0
|
||||||
|
git commit -m "chore: lint and format" || exit 0
|
||||||
|
git push origin HEAD:${GITHUB_REF#refs/heads/}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue