chore(package.json): use nr for format script #972
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./**/* |