Merge pull request #423 from dump-hr/lucijs/make-header-clickable #854
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: Lint | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
# eslint_web: | |
# name: Run ESLint (web) | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v3 | |
# - name: Setup Node.js | |
# uses: actions/setup-node@v2 | |
# with: | |
# node-version: 18.x | |
# cache: 'yarn' | |
# - name: Install dependencies | |
# run: yarn install --immutable | |
# - name: Run ESLint | |
# run: yarn workspace web run lint | |
eslint_sponsor: | |
name: Run ESLint (sponsor) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run ESLint | |
run: yarn workspace sponsor run lint | |
eslint_admin: | |
name: Run ESLint (admin) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run ESLint | |
run: yarn workspace admin run lint | |
eslint_api: | |
name: Run ESLint (api) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run ESLint | |
run: yarn workspace api run lint |