Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure-devops/full-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extends:
jobs:
- job: Windows_Latest
steps:
- template: /.azure-devops/steps/npm-install.yaml@self
- template: /.azure-devops/steps/npm-install-no-postinstall.yaml@self
- template: /.azure-devops/steps/build-individually.yaml@self
- template: /.azure-devops/steps/devcerts.yml@self
- template: /.azure-devops/steps/edgewebview.yml@self
Expand Down
6 changes: 6 additions & 0 deletions .azure-devops/steps/npm-install-no-postinstall.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
steps:

- powershell: |
npm ci --ignore-scripts --verbose
displayName: Install deps (skip scripts)
timeoutInMinutes: 10
20 changes: 20 additions & 0 deletions .azure-devops/steps/npm-install-rebuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
steps:

- powershell: |
$env:NX_SKIP_NX_SETUP = "true"
$env:NX_DAEMON = "false"
$env:npm_config_fund = "false"
$env:npm_config_audit = "false"
$env:npm_config_progress = "false"
npm ci --ignore-scripts --verbose
displayName: Install deps (skip scripts)
timeoutInMinutes: 10

# If you have native deps, rebuild only what you actually need. Examples:
# - powershell: npm rebuild keytar --no-optional
# - powershell: npm rebuild --no-optional
# If you have none, you can omit this step entirely.
- powershell: |
npm rebuild --no-optional --verbose
displayName: Rebuild native modules (safe)
timeoutInMinutes: 10
12 changes: 7 additions & 5 deletions .azure-devops/steps/npm-install.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
steps:
- task: Npm@1
displayName: "Install NPM packages"
inputs:
command: custom
customCommand: "install"

- powershell: |
$env:NX_SKIP_NX_SETUP = "true"
$env:NX_DAEMON = "false"
npm ci --no-audit --no-fund --verbose
displayName: Install deps (keep scripts, skip Nx)
timeoutInMinutes: 10
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"useNx": false
}
Loading