Skip to content

Commit 702cea8

Browse files
chore: remove postinstall steps from CI to speed up prepare-install action (typescript-eslint#11219)
1 parent 294fb23 commit 702cea8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/actions/prepare-install/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ runs:
7676
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz # Very small speedup when lock does not change
7777
# Other environment variables
7878
HUSKY: '0' # By default do not run HUSKY install
79+
SKIP_POSTINSTALL: 'true'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
uses: ./.github/actions/prepare-install
7979
with:
8080
node-version: ${{ env.PRIMARY_NODE_VERSION }}
81-
- run: yarn generate-configs
81+
- run: yarn nx run generate-configs
8282
- run: git status --porcelain
8383
- if: failure()
8484
run: echo "Outdated result detected from yarn generate-configs. Please check in any file changes."

packages/types/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"dependsOn": ["copy-ast-spec"]
1515
},
1616
"lint": {
17-
"executor": "@nx/eslint:lint"
17+
"executor": "@nx/eslint:lint",
18+
"dependsOn": ["typescript-eslint:build", "eslint-plugin-internal:build"]
1819
}
1920
}
2021
}

0 commit comments

Comments
 (0)