Create dependabot.yml (#18)

Co-authored-by: AngeloTadeucci <AngeloTadeucci@users.noreply.github.com>
This commit is contained in:
Ângelo Tadeucci 2023-06-06 20:11:09 -03:00 committed by GitHub
parent 737915557b
commit b25fb52d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

View File

@ -6,16 +6,18 @@ jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3.5.2
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v1
- 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.1.2
uses: stefanzweifel/git-auto-commit-action@v4.16.0
with:
commit_message: Apply prettier changes
branch: ${{ github.head_ref }}