-
Notifications
You must be signed in to change notification settings - Fork 48
/
netlify.toml
27 lines (25 loc) · 1012 Bytes
/
netlify.toml
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
# Netlify configuration
# https://docs.netlify.com/configure-builds/file-based-configuration/
[build]
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "app"
# not a real build command for this repo,
# shows Cypress-related build agent info
command = "npx cypress info && npx cypress cache list"
[build.environment]
# do not show Cypress installation progress messages
CI = "1"
# cache Cypress binary in local "node_modules" folder
# so Netlify caches it
CYPRESS_CACHE_FOLDER = "./node_modules/CypressBinary"
# set TERM variable for terminal output
TERM = "xterm"
[[plugins]]
# https://github.com/cypress-io/netlify-plugin-cypress
package = "netlify-plugin-cypress"
# we don't need to run all tests, just a few sanity specs
[plugins.inputs]
record = true
spec = "cypress/integration/examples/w*.js"