Stylelint fixes #1
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: "test-on-pr" | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
eslint: | |
if: | | |
!contains(github.event.pull_request.title, '[skip ci]') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: install app dependencies | |
run: npm ci | |
- name: ESLint | |
run: npm run eslint | |
stylelint: | |
if: | | |
!contains(github.event.pull_request.title, '[skip ci]') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: install app dependencies | |
run: npm ci | |
- name: Stylelint | |
run: npm run stylelint -- -f github |