We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm ci
1 parent ade328f commit 0434f15Copy full SHA for 0434f15
packages/docs/docs/guide/deploy.md
@@ -66,14 +66,17 @@ You can also run the above script in your CI setup to enable automatic deploymen
66
67
2. Create a file named `.travis.yml` in the root of your project.
68
69
-3. Use GitHub Pages deploy provider template and follow the [travis documentation](https://docs.travis-ci.com/user/deployment/pages/).
+3. Run `npm install` locally and commit `package-lock.json` as it’s required for `npm ci`.
70
+
71
+4. Use GitHub Pages deploy provider template and follow the [travis documentation](https://docs.travis-ci.com/user/deployment/pages/).
72
73
``` yaml
74
language: node_js
75
node_js:
76
- lts/*
77
+install:
78
+ - npm ci
79
script:
- - npm install
80
- npm run docs:build
81
deploy:
82
provider: pages
0 commit comments