Merge pull request #189 from 10up/fix/186-indicate-wp70-support-trunk #335
This file contains hidden or 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: JS and CSS lint | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - trunk | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| eslint: | |
| name: eslint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: install node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run JS linting | |
| run: npm run lint:js | |
| - name: Run CSS linting | |
| run: npm run lint:css |