Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

ts-lint workflow

ts-lint workflow #7

Workflow file for this run

name: lint
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
defaults:
run:
shell: nu {0}
jobs:
ts-lint:
runs-on: ubuntu-latest
steps:
- uses: hustcer/setup-nu@main
with:
version: "*"
- uses: actions/checkout@v4.0.0
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: --check **/*.{ts,md,yml}