Skip to content

feat: add parse() and format() exports (#213) #49

feat: add parse() and format() exports (#213)

feat: add parse() and format() exports (#213) #49

Workflow file for this run

name: Quality
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
prettier:
name: 'Prettier'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Prettier check
run: pnpm run prettier-check
eslint:
name: 'ESLint'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run ESLint check
run: pnpm run eslint-check
types:
name: 'TypeScript'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run TypeScript type check
run: pnpm run type-check