This commit is contained in:
Master 2023-06-07 07:58:11 +08:00
commit 7903493027
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 }}