Skip to content

Commit 01d768b

Browse files
avoid building swift-docc-render twice on Windows
1 parent 5807f26 commit 01d768b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/scripts/windows/setup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
. .github\workflows\scripts\windows\install-nodejs.ps1
33

44
# Download the VSIX archived upstream
5-
npm ci
5+
npm ci --ignore-scripts
66
$Process = Start-Process npx "tsx scripts/download_vsix.ts" -Wait -PassThru -NoNewWindow
77
if ($Process.ExitCode -eq 0) {
88
Write-Host 'SUCCESS'

scripts/update_swift_docc_render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ main(async () => {
7272
await mkdir(outputDirectory, { recursive: true });
7373
await withTemporaryDirectory("update-swift-docc-render_", async buildDirectory => {
7474
const swiftDocCRenderDirectory = await cloneSwiftDocCRender(buildDirectory);
75-
await exec("npm", ["install"], { cwd: swiftDocCRenderDirectory });
75+
await exec("npm", ["ci"], { cwd: swiftDocCRenderDirectory });
7676
await exec("npx", ["vue-cli-service", "build", "--dest", outputDirectory], {
7777
cwd: swiftDocCRenderDirectory,
7878
env: {

0 commit comments

Comments
 (0)