11 hall of fame #1217
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: Awesome Linter | |
on: pull_request | |
jobs: | |
lint-js: | |
name: Lint JS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.18.1 | |
- run: npm install --production | |
- run: npm run lint:js | |
lint-css: | |
name: Lint CSS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.18.1 | |
- run: npm install --production | |
- run: npm run lint:css | |
lint-html: | |
name: Lint HTML | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.18.1 | |
- run: npm install --production | |
- run: npm run lint:html | |
lint-branch-name: | |
name: Validate branch name | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: lekterable/[email protected] | |
with: | |
allowed: | | |
/^[0-9]+-(?:[\d\w]){3,70}/i |