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: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v3.5.2
with: with:
ref: ${{ github.head_ref }} ref: ${{ github.head_ref }}
- uses: actions/setup-node@v1 - name: Setup Node.js environment
uses: actions/setup-node@v2.5.2
with: with:
node-version: "18.x" node-version: "18.x"
- run: npm ci - run: npm ci
- run: npm run prettier - run: npm run prettier
- name: Commit changes - name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4.1.2 uses: stefanzweifel/git-auto-commit-action@v4.16.0
with: with:
commit_message: Apply prettier changes commit_message: Apply prettier changes
branch: ${{ github.head_ref }} branch: ${{ github.head_ref }}