variables:
  GIT_STRATEGY: fetch
  GIT_SUBMODULE_STRATEGY: normal
  NODE_OPTIONS: --no-warnings
stages:
  - test

tests:
  stage: test
  tags:
    - windows
  before_script:
    - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
    - choco install -y yarn
    - refreshenv
  script:
    - yarn
    - yarn jest --testTimeout 30000

variables:
  GIT_STRATEGY: fetch
  GIT_CHECKOUT: "false"
  GIT_SUBMODULE_STRATEGY: normal
  NODE_OPTIONS: --no-warnings
stages:
  - test

tests:
  stage: test
  tags:
    - windows
  before_script:
    - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
    - choco install -y yarn
    - refreshenv
  script:
    - git config core.symlinks true
    - git checkout $CI_COMMIT_REF_NAME
    - git submodule update --init --depth 1
    - yarn
    - yarn jest --testTimeout 30000

Test a fix for Windows CI issues with symlinks
Test a fix for Windows CI issues with symlinks
