Skip to content

Bump the composer-minor-patch group across 1 directory with 4 updates #2

Bump the composer-minor-patch group across 1 directory with 4 updates

Bump the composer-minor-patch group across 1 directory with 4 updates #2

Workflow file for this run

name: Code Quality JS CSS
on:
push:
pull_request:
# Allow manually triggering the workflow.
workflow_dispatch:
permissions:
contents: read
jobs:
code-quality:
name: Run Code Quality Checks
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
- name: Run npm audit
# We want to be aware of any vulnerabilities in our dependencies,
# but we don't want to fail the build because of them.
# So we will just log the output of npm audit.
run: npm audit --omit=dev --omit=peer
- name: Install all npm packages
run: npm ci
# Building is automatically done by "prepare" npm script.
- name: Lint JS
run: npm run lint