Skip to content

Commit cbf237d

Browse files
Ignore scripts when compiling
1 parent 8858c07 commit cbf237d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ jobs:
9696
workspace: "${{ matrix.module }}"
9797
- name: Compile
9898
run: |
99-
npm run build --workspace packages/testcontainers -- --project tsconfig.json
99+
npm run build --ignore-scripts --workspace packages/testcontainers -- --project tsconfig.json
100100
if [ "${{ matrix.module }}" != "testcontainers" ]; then
101-
npm run build --workspace ${{ steps.npm-install.outputs.workspace_path }} -- --project tsconfig.json --noEmit
101+
npm run build --ignore-scripts --workspace ${{ steps.npm-install.outputs.workspace_path }} -- --project tsconfig.json --noEmit
102102
fi
103103
104104
smoke-test:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"lint:ci": "eslint package.json \"${WORKSPACE_PATH}/**/*.ts\" --max-warnings=0",
1717
"update-deps": "npm-check-updates --workspaces --root -u",
1818
"validate-engine": "ls-engines",
19-
"check-compiles": "npm run build -ws -- --project tsconfig.json --noEmit"
19+
"check-compiles": "npm run build --ignore-scripts -ws -- --project tsconfig.json --noEmit"
2020
},
2121
"devDependencies": {
2222
"@eslint/js": "^9.22.0",

0 commit comments

Comments
 (0)