mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-12 19:51:07 +05:00
25 lines
541 B
YAML
25 lines
541 B
YAML
name: Lint
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
code:
|
|
name: Lint code
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
cache: "yarn"
|
|
- name: Install dependencies
|
|
run: yarn install --frozen-lockfile
|
|
- name: Lint Scripts
|
|
run: yarn lint:scripts
|
|
- name: Lint CSS
|
|
run: yarn lint:styles
|
|
- name: Lint JSON
|
|
run: yarn lint:json
|