ci: require node 18.18.2 for workflow jobs #1820
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: CSS Lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '*.json' | |
- '**/*.css' | |
- '.github/workflows/css-lint.yml' | |
- '.github/actions/setup-js-env/' | |
pull_request: | |
paths: | |
- '*.json' | |
- '**/*.css' | |
- '.github/workflows/css-lint.yml' | |
- '.github/actions/setup-js-env/' | |
jobs: | |
stylelint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-js-env | |
- name: Add Custom Problem Matcher | |
run: | | |
echo "::add-matcher::.github/matchers/${{ github.job }}.json" | |
- name: npm run stylelint | |
run: | | |
npm run stylelint |