mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: fix docs-only workflow
This commit is contained in:
@@ -29,6 +29,8 @@ jobs:
|
||||
uses: ./src/electron/.github/actions/install-dependencies
|
||||
- name: Run TS/JS compile
|
||||
shell: bash
|
||||
env:
|
||||
CI_DOCS_ONLY: true
|
||||
run: |
|
||||
cd src/electron
|
||||
node script/yarn create-typescript-definitions
|
||||
|
||||
@@ -147,7 +147,12 @@ if ((globalThis.process || binding.process).argv.includes("--profile-electron-in
|
||||
6059,
|
||||
// Private field '{0}' must be declared in an enclosing class.
|
||||
1111
|
||||
]
|
||||
].concat(process.env.CI_DOCS_ONLY
|
||||
? [
|
||||
// Cannot find module '{0}' or its corresponding type declarations.
|
||||
2307
|
||||
]
|
||||
: [])
|
||||
}
|
||||
}]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user