Skip to content

Commit

Permalink
ci: once more
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Aug 3, 2023
1 parent 99ccd6e commit 3d8a2c5
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ commands:
- run: git config --global core.autocrlf input
- node/install:
node-version: '18.15.0'
- checkout
run-fast-tests:
steps:
- node/install-packages
- run:
command: |
yarn install
yarn lint
yarn syncpack
yarn build
yarn test:fast
run-slow-tests:
steps:
- node/install-packages
- run:
command: |
yarn install
yarn lint
yarn build
yarn test:slow
Expand Down Expand Up @@ -72,22 +73,22 @@ jobs:
condition:
equal: [node/windows, << parameters.executor >>]
steps:
run:
name: setup Windows and run slow tests
shell: powershell.exe -ExecutionPolicy Bypass
command: |
Write-Output "Installing WiX Toolset"
choco install --no-progress -y wixtoolset
Write-Output "Reloading PATH"
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
[Environment]::SetEnvironmentVariable("PATH", $env:Path + "C:\Program Files (x86)\WiX Toolset v3.11\bin;", "Machine")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
npm config set node-gyp "$CIRCLE_WORKING_DIRECTORY\node_modules\node-gyp\bin\node-gyp.js"
yarn install
yarn lint
yarn build
yarn test:slow
- node/install-packages
- run:
name: setup Windows and run slow tests
shell: powershell.exe -ExecutionPolicy Bypass
command: |
Write-Output "Installing WiX Toolset"
choco install --no-progress -y wixtoolset
Write-Output "Reloading PATH"
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
[Environment]::SetEnvironmentVariable("PATH", $env:Path + "C:\Program Files (x86)\WiX Toolset v3.11\bin;", "Machine")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
npm config set node-gyp "$CIRCLE_WORKING_DIRECTORY\node_modules\node-gyp\bin\node-gyp.js"
yarn lint
yarn build
yarn test:slow
- when:
condition:
equal: [node/linux, << parameters.executor >>]
Expand Down

0 comments on commit 3d8a2c5

Please sign in to comment.