chore(deps): move all dependencies to devDependencies
#1500
This file contains hidden or 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 YAML | |
| on: | |
| pull_request: | |
| paths: | |
| - .nvmrc | |
| - package-lock.json | |
| - "**/*.yml" | |
| - .github/workflows/pr-check_yml.yml | |
| # No GITHUB_TOKEN permissions, as we only use it to increase API limit. | |
| permissions: {} | |
| jobs: | |
| lint-yml: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: npm | |
| - name: Install | |
| run: npm ci | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Lint markdown files | |
| run: npm run lint:yml |