chore(deps): bump the dependencies group across 1 directory with 15 updates #4885
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: 'dhis2: verify (commits)' | |
| on: | |
| pull_request: | |
| types: ['opened', 'edited', 'reopened', 'synchronize'] | |
| jobs: | |
| lint-pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18.x | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - id: commitlint | |
| run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | |
| - uses: JulienKode/[email protected] | |
| with: | |
| configuration-path: ${{ steps.commitlint.outputs.config_path }} | |
| lint-commits: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18.x | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - id: commitlint | |
| # This will return a config file with a .js extensions for @dhis2/cli-style v10 | |
| run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | |
| # commitlint-github-action@v6+ requires a .mjs extension for the config file, so the highest version we can use is 5 | |
| - uses: wagoid/commitlint-github-action@v5 | |
| with: | |
| configFile: ${{ steps.commitlint.outputs.config_path }} |