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 #3

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: actions/checkout@v4.0.0
- uses: hustcer/setup-nu@main
with:
version: "*"
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: --check **/*.{ts,md,yml}