Skip to content

Feat: UI, General Improvements #1579

Feat: UI, General Improvements

Feat: UI, General Improvements #1579

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- production
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
check-latest: true
cache: "pnpm"
- name: pnpm lint
run: |
cd src
pnpm install
pnpm lint
typecheck:
name: Typecheck
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
check-latest: true
cache: "pnpm"
- name: pnpm typecheck
run: |
cd src
pnpm install
pnpm typecheck
formatcheck:
name: Check format
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
check-latest: true
cache: "pnpm"
- name: pnpm format:check
run: |
cd src
pnpm install
pnpm format:check