Skip to content

Merge pull request #186 from gita/newsletter-subscription #57

Merge pull request #186 from gita/newsletter-subscription

Merge pull request #186 from gita/newsletter-subscription #57

Workflow file for this run

name: Code Quality
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
prettier:
name: "Prettier"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
# cache: "npm"
- name: Install dependencies
run: npm install
- name: Run Prettier check
run: npm run prettier
eslint:
name: "ESLint"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
# cache: "npm"
- name: Install dependencies
run: npm install
- name: Run ESLint check
run: npm run lint
lint-fix:
name: "Fix Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
# cache: "npm"
- name: Install dependencies
run: npm install
- name: Run TypeScript type check
run: npm run lint:fix
types:
name: "Type Check"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
# cache: "npm"
- name: Install dependencies
run: npm install
- name: Run TypeScript type check
run: npm run type-check
find-unused:
name: "Find Unused"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
# cache: "npm"
- name: Install dependencies
run: npm install
- name: Run TypeScript type check
run: npm run find:unused