pulsar/.cirrus.yml
DeeDeeG fe85fd4991 CI: Don't clear the npm cache, just the ripgrep cache
The npm cache being present or not is irrelevant to the reproducer case

Keep it for faster runs and less resource usage
2023-06-17 12:29:53 -04:00

28 lines
1.1 KiB
YAML

env:
PYTHON_VERSION: 3.10
GITHUB_TOKEN: ENCRYPTED[13da504dc34d1608564d891fb7f456b546019d07d1abb059f9ab4296c56ccc0e6e32c7b313629776eda40ab74a54e95c]
# The above token, is a GitHub API Token, that allows us to download RipGrep without concern of API limits
arm_linux_task:
alias: linux
arm_container:
image: node:18
memory: 8G
env:
USE_SYSTEM_FPM: 'true'
prepare_script:
- mkdir test_fetching_ripgrep
- cd test_fetching_ripgrep
- npm init -y --verbose
- npm install --verbose --foreground-scripts @vscode/ripgrep; cat /root/.npm/_logs/*.log
- rm -rfv /tmp/vscode-ripgrep-cache*/
- npm ci --verbose --foreground-scripts; cat /root/.npm/_logs/*.log
- rm -rfv /tmp/vscode-ripgrep-cache*/
- npm ci --verbose --foreground-scripts; cat /root/.npm/_logs/*.log
- rm -rfv /tmp/vscode-ripgrep-cache*/
- npm ci --verbose --foreground-scripts; cat /root/.npm/_logs/*.log
- rm -rfv /tmp/vscode-ripgrep-cache*/
- npm ci --verbose --foreground-scripts; cat /root/.npm/_logs/*.log
- rm -rfv /tmp/vscode-ripgrep-cache*/
- npm ci --verbose --foreground-scripts; cat /root/.npm/_logs/*.log