$: npm install
$: npm start
- modify package.json by adding to scripts -> test -> PERCY_TOKEN=<token>. Use token from Percy.io
- run server
npm run start-test-server
- run tests
npm run test
Add label run_tests_cypress
to the PR. It starts running cypress tests.
- Change version in
package.json
to something meaningful and unique, like1.1.0-beta.94-verify-fix
npm i
- [Optional] Run
npm run build
to verify that your Portal version is working npm run prepublishOnly
npm publish --registry http://[registry address]
- Install local
verdaccio
. It has an official docker image you can use, and in most cases, the default configuration is good enough:docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
- Change version in
package.json
to something meaningful and unique, like1.1.0-beta.94-verify-fix
npm i
- [Optional] Run
npm run build
to verify that your Portal version is working npm run prepublishOnly
npm publish --registry http://0.0.0.0:4873
- Update
dependencies
inpackage.json
with your published@redocly/developer-portal
version -
yarn install --registry http://[registry address]
for staging oryarn install --registry http://0.0.0.0:4873
for local env