Bump @wordpress/components from 28.2.0 to 28.8.0 #175
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: Lint CSS/JS | |
on: | |
push: | |
# Only run if CSS/JS/MD-related files changed. | |
paths: | |
- '**.js' | |
- '**.cjs' | |
- '**.css' | |
- 'packages/**/*.md' | |
- '.eslint*' | |
- '.markdownlint*' | |
- '.npmpackagejsonlintrc.json' | |
- '.nvmrc' | |
- '.prettier*' | |
- '.stylelint*' | |
- '**/package.json' | |
- 'package-lock.json' | |
branches: | |
- main | |
- release/* | |
pull_request: | |
# Only run if CSS/JS/MD-related files changed. | |
paths: | |
- '**.js' | |
- '**.cjs' | |
- '**.css' | |
- 'packages/**/*.md' | |
- '.eslint*' | |
- '.markdownlint*' | |
- '.npmpackagejsonlintrc.json' | |
- '.nvmrc' | |
- '.prettier*' | |
- '.stylelint*' | |
- '**/package.json' | |
- 'package-lock.json' | |
# Cancels all previous workflow runs for pull requests that have not completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name for pull requests | |
# or the commit hash for any other events. | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.nvmrc' | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: JS Lint | |
run: npm run lint:js | |
- name: Markdown Lint | |
run: npm run lint:md:docs | |
- name: CSS Lint | |
run: npm run lint:css |