Skip to content

chore(package.json): use nr for format script #972

chore(package.json): use nr for format script

chore(package.json): use nr for format script #972

Workflow file for this run

name: lint / check
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
lint:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run check
run: pnpm check
- name: Run lint
run: |
pnpm lint
pnpm lint:renovate
secretlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Run secretlint
shell: bash
run: npx @secretlint/quick-start ./**/*