chore(deps): update npm (development) #4
Workflow file for this run
This file contains 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: Quality checks ππ§ͺ | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
dependency-review: | |
name: Vulnerable dependencies π | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Scan | |
uses: actions/[email protected] | |
with: | |
## Workaround from https://github.com/actions/dependency-review-action/issues/456 | |
## TODO: Remove when necessary | |
base-ref: ${{ github.event.pull_request.base.sha || 'main' }} | |
head-ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
conventional_commits: | |
name: Conventional commits check π¬ | |
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Check if all commits comply with the specification | |
uses: webiny/[email protected] | |
no_merge_commits: | |
name: No merge commits check π« | |
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
fetch-depth: 0 | |
- name: Check commits | |
uses: greenled/[email protected] | |
quality: | |
name: Run ${{ matrix.command }} π΅οΈββοΈ | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
command: | |
- lint | |
- check | |
- build | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Setup node environment βοΈ | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'npm' | |
check-latest: true | |
- name: Install dependencies π¦ | |
run: npm ci --no-audit | |
- name: Run ${{ matrix.command }} βοΈ | |
run: npm run ${{ matrix.command }} |