chore(ci): update check security workflows #31
Workflow file for this run
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: Check Grammar Dependencies | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/workflows/check-grammar-deps.yml" | |
| - "crates/tree-sitter-**/**" | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/workflows/check-grammar-deps.yml" | |
| - "crates/tree-sitter-**/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: check-grammar-deps-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: { } | |
| jobs: | |
| yarn-audit: | |
| name: Yarn audit | |
| runs-on: ubicloud-standard-2-ubuntu-2204 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Installing additional Rust components | |
| uses: taiki-e/install-action@184183c2401be73c3bf42c2e61268aa5855379c1 # v2.78.1 | |
| with: | |
| tool: just@1.49.0 | |
| fallback: none | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup Node.js 22.x | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 22.x | |
| - name: Run Yarn audits | |
| run: just check-grammar-security |