Merge branch 'main' into main
This commit is contained in:
commit
5403e4a26e
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
23
.github/workflows/prettier.yml
vendored
Normal file
23
.github/workflows/prettier.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Prettier
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2.5.2
|
||||
with:
|
||||
node-version: "18.x"
|
||||
- run: npm ci
|
||||
- run: npm run prettier
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4.16.0
|
||||
with:
|
||||
commit_message: Apply prettier changes
|
||||
branch: ${{ github.head_ref }}
|
Loading…
x
Reference in New Issue
Block a user