diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f174caa3..67a9ae5b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/prepare + - run: pnpm build - run: pnpm lint name: Lint diff --git a/package.json b/package.json index 02ade9b2..8407f866 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "fix": "pnpm lint --fix && pnpm format:write", "format": "prettier \"**/*\" --ignore-unknown", "format:write": "pnpm format --write", - "postinstall": "pnpm run build", "lint": "eslint . .*js --max-warnings 0 --report-unused-disable-directives", "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line", "lint:package-json": "npmPkgJsonLint .",