Skip to content

style: 根据actionlint检测处理的的问题,将workflows/*.yml文件进行修改,使其符合规则要求。 #354

style: 根据actionlint检测处理的的问题,将workflows/*.yml文件进行修改,使其符合规则要求。

style: 根据actionlint检测处理的的问题,将workflows/*.yml文件进行修改,使其符合规则要求。 #354

name: Lint pushes/PRs
on: [push, pull_request]
jobs:
js-json-md-yaml-lint:
name: JavaScript + JSON + Markdown + YAML
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci # instead of install to ensure consistency and determinism in CI/CD workflow
- name: Run ESLint
run: npm run lint