forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lage.config.js
47 lines (43 loc) · 1.49 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
46
47
// Configuration documentation: https://microsoft.github.io/lage/guide/config.html
module.exports = {
pipeline: {
build: ['^build'],
'build:info': [],
bundle: ['build'],
'bundle-size': ['build'],
lint: ['build'],
clean: [],
test: ['build'],
'type-check': ['build'],
'code-style': [],
'update-snapshots': ['^update-snapshots'],
'@fluentui/docs#build': ['@fluentui/react-northstar#build:info'],
},
// Adds some ADO-specific logging commands for reporting failures
...(process.env.TF_BUILD && { reporter: 'adoLog' }),
// Ignores these minimatch patterns when considers what packages have changed for the --since flag
ignore: ['change/**', 'rfcs/**', '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'],
},
};