Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use yarn berry #10188

Merged
merged 23 commits into from
Jul 5, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 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
Prev Previous commit
Next Next commit
chore: attempt to fix caching on azure pipelines
  • Loading branch information
SimenB committed Jul 3, 2020
commit e8856ae1d8ed888fda43f1bcb58c6a01d226f7f7
5 changes: 4 additions & 1 deletion .azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ steps:
versionSpec: '2.7'
displayName: 'Use Python 2.7'

- bash: echo "##vso[task.setvariable variable=folder;isOutput=true]$(yarn config get cacheFolder)"
name: yarnCache

- task: Cache@2
inputs:
key: yarn | $(Agent.OS) | yarn.lock
path: $(YARN_CACHE_FOLDER)
path: $(yarnCache.folder)
displayName: Cache Yarn packages

- script: yarn install
Expand Down
2 changes: 0 additions & 2 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ variables:

# Ensures the handful of tests that should be skipped during CI are
CI: true

YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn