Skip to content

Commit e9769d8

Browse files
authored
add netlify config file (#388)
* add netlify config file * add Netlify badge file * add cache list to Netlify command
1 parent e87ff3f commit e9769d8

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ GitHub Actions | [![Parallel tests status](https://github.com/cypress-io/cypress
2727
GitLab | [![GitLab CI](https://gitlab.com/cypress-io/cypress-example-kitchensink/badges/master/pipeline.svg)](https://gitlab.com/cypress-io/cypress-example-kitchensink/commits/master) | [basic/.gitlab-ci.yml](basic/.gitlab-ci.yml) | [.gitlab-ci.yml](.gitlab-ci.yml)
2828
Heroku CI | | [basic/app.json](basic/app.json) |
2929
Jenkins | | [basic/Jenkinsfile](basic/Jenkinsfile) | [Jenkinsfile](Jenkinsfile)
30+
Netlify | [![Netlify Status](https://api.netlify.com/api/v1/badges/016bd76b-ebfd-4071-94d9-8668afbb56f7/deploy-status)](https://app.netlify.com/sites/admiring-bose-97b8a4/deploys) | [netlify.toml](netlify.toml) |
3031
Semaphore v2 | [![Project dashboard](https://cypress-io.semaphoreci.com/badges/cypress-example-kitchensink/branches/master.svg)](https://cypress-io.semaphoreci.com/projects/cypress-example-kitchensink) | [basic/.semaphore.yml](basic/.semaphore.yml) | [.semaphore/semaphore.yml](.semaphore/semaphore.yml)
3132
Shippable | [![Shippable CI](https://api.shippable.com/projects/56c38fdc1895ca4474743010/badge?branch=master)](https://app.shippable.com/github/cypress-io/cypress-example-kitchensink) | [shippable.yml](shippable.yml)
3233
Travis | [![Travis CI](https://travis-ci.org/cypress-io/cypress-example-kitchensink.svg?branch=master)](https://travis-ci.org/cypress-io/cypress-example-kitchensink) | [basic/.travis.yml](basic/.travis.yml) | [.travis.yml](.travis.yml)

netlify.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Netlify configuration
2+
# https://docs.netlify.com/configure-builds/file-based-configuration/
3+
[build]
4+
# Directory (relative to root of your repo) that contains the deploy-ready
5+
# HTML files and assets generated by the build. If a base directory has
6+
# been specified, include it in the publish directory path.
7+
publish = "app"
8+
# not a real build command for this repo,
9+
# shows Cypress-related build agent info
10+
command = "npx cypress info && npx cypress cache list"
11+
12+
[build.environment]
13+
# do not show Cypress installation progress messages
14+
CI = "1"
15+
# cache Cypress binary in local "node_modules" folder
16+
# so Netlify caches it
17+
CYPRESS_CACHE_FOLDER = "./node_modules/CypressBinary"

0 commit comments

Comments
 (0)