This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
[依賴項更新] (deps): Bump mongoose from 8.1.1 to 8.8.3 #1176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push] | |
permissions: write-all | |
jobs: | |
run-linters: | |
name: 運行 linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: 查看 Git 存儲庫 | |
uses: actions/checkout@v3 | |
- name: 設置 Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: 安裝 Node.js 依賴項 | |
run: npm ci | |
- name: 安裝 ESLint | |
run: npm install -g eslint prettier | |
- name: 運行 linters | |
uses: wearerequired/lint-action@v2 | |
with: | |
eslint: true | |
prettier: false | |
auto_fix: true | |
git_name: "ESLint" | |
commit_message: "使用 ${linter} 修飾&格式化程式代碼" |