build(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 #34
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: Audit | |
| on: push | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| name: Audit | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v3 | |
| - name: Check if .editorconfig exists | |
| uses: andstor/file-existence-action@v1 | |
| with: | |
| files: ".editorconfig" | |
| allow_failure: true | |
| - name: EditorConfig validation | |
| uses: snow-actions/eclint@v1.0.1 | |
| - name: Ensure node_modules is ignored by Git | |
| uses: dkershner6/gitignore-parser@v1 | |
| with: | |
| must_deny: "node_modules/" | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 7 | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| cache: "pnpm" | |
| - name: Install modules | |
| run: pnpm i --frozen-lockfile | |
| - name: prettier | |
| run: pnpm prettier:check | |
| - name: ESLint validation | |
| run: pnpm eslint | |
| - name: Check commit message length | |
| uses: gsactions/commit-message-checker@v1 | |
| with: | |
| pattern: "^[^#].{10,74}" | |
| error: "The commit message length must be between 10 and 72" | |
| excludeDescription: "true" # optional: this excludes the description body of a pull request | |
| excludeTitle: "true" # optional: this excludes the title of a pull request | |
| checkAllCommitMessages: "true" # optional: this checks all commits associated with a pull request |