Skip to content

upgrade: postcss (#18) #44

upgrade: postcss (#18)

upgrade: postcss (#18) #44

Workflow file for this run

name: Lint and Check
on:
pull_request:
push:
branches:
- "main"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts
- name: Lint
run: yarn eslint --max-warnings 0 .
format:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts
- name: Check Formatting
run: yarn prettier -c .
typecheck:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts
- name: Check Types
run: yarn prebuild && yarn tsc --noEmit