fix: remap alias eslint/no-negated-condition
for unicorn/no-negated-condition
#116
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: Code generation | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
paths: | |
- 'pnpm-lock.yaml' | |
- 'scripts/**' | |
- '.github/workflows/generate.yml' | |
push: | |
branches: | |
- main | |
- 'renovate/**' | |
paths: | |
- 'pnpm-lock.yaml' | |
- 'scripts/**' | |
- '.github/workflows/generate.yml' | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- uses: ./.github/actions/pnpm | |
- name: Remove current generated code | |
run: rm -r ./src/generated/ | |
- name: Generate from source code | |
run: pnpm run generate | |
- name: Format generated code | |
run: pnpm run format | |
- name: Check for git diff | |
run: git diff --exit-code |