forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
lage.config.js
45 lines (42 loc) · 1.39 KB
/
lage.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Configuration documentation: https://microsoft.github.io/lage/guide/config.html
module.exports = {
pipeline: {
build: ['^build'],
'build:info': [],
bundle: ['build'],
'bundle-size': ['build'],
'screener:build': [],
screener: ['screener:build'],
lint: ['build'],
clean: [],
test: ['build'],
'code-style': [],
'update-snapshots': ['^update-snapshots'],
'@fluentui/docs#build': ['@fluentui/react-northstar#build:info'],
},
// Ignores these minimatch patterns when considers what packages have changed for the --since flag
ignore: ['change/**', 'README.md'],
// All of these options are sent to `backfill`: https://github.com/microsoft/backfill/blob/master/README.md
cacheOptions: {
// These are the subset of files in the package directories that will be saved into the cache
outputGlob: [
'dist/**/*',
'lib/**/*',
'lib-commonjs/**/*',
'lib-amd/**/*',
'esm/**/*',
'**/*.source.json',
'**/*.info.json',
'**/dist.stats.json',
'**/*.tar.gz',
'!bower_components',
'!node_modules',
'lib-es2015/**/*',
'coverage/**/*',
'src/**/*.scss.ts',
],
// These are relative to the git root, and affects the hash of the cache
// Any of these file changes will invalidate cache
environmentGlob: ['.devops/**/*', '*.js', '*.json', '*.yml', 'apps/pr-deploy-site'],
},
};