mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-06 01:16:51 +00:00
chore: i had a cup of tea and now it's fixed
permalink: http://whatthecommit.com/75f9d31192425512ef21e07a20f3390b
This commit is contained in:
24
.github/workflows/continuous-integration.yml
vendored
24
.github/workflows/continuous-integration.yml
vendored
@@ -6,9 +6,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'plugins/**'
|
||||
|
||||
jobs:
|
||||
Prettier:
|
||||
@@ -17,13 +16,28 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.FORCE_PUSH }}
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 17
|
||||
|
||||
# Prettier must be in `package.json`
|
||||
- name: Install Node.js dependencies
|
||||
run: npm i -g prettier && npm i
|
||||
|
||||
- name: Run Prettier
|
||||
run: prettier --write plugins/*.ts
|
||||
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: "style: run prettier"
|
||||
commit_options: '--no-verify --signoff'
|
||||
repository: .
|
||||
commit_user_name: "GitHub Actions"
|
||||
status_options: '--untracked-files=no'
|
||||
push_options: '--force'
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user