From fa72c2027164642be04a1764a25482912df3de3b Mon Sep 17 00:00:00 2001 From: Stuart Clark Date: Thu, 29 Aug 2024 11:04:34 +1000 Subject: [PATCH] chore: update docs:dev --- .circleci/config.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 602a03dc..90235903 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,6 +123,9 @@ jobs: - store_artifacts: path: ./examples/druxt-site/test/cypress/videos + - run: + name: Install DruxtJS.org codebase + command: cd docs/nuxt && nvm i && nvm use && npm i -g yarn && yarn - run: name: Run DruxtJS.org end-to-end tests command: yarn start-server-and-test docs:dev http://localhost:3000 'npx cypress run --project docs/nuxt/test --record --tag druxtjs.org' diff --git a/package.json b/package.json index a17ba970..0a3d62d1 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "clean:dist": "rimraf packages/*/dist packages/*/nuxt || true", "clean:pack": "rimraf packages/*/package.tgz || true", "dev": "siroc dev", - "docs:dev": "cd docs/nuxt && yarn && yarn dev", + "docs:dev": "cd docs/nuxt && nvm use && yarn && yarn dev", "docs:test": "start-server-and-test docs:dev http://localhost:3000 'npx cypress run --project docs/nuxt/test'", "docs:test:open": "start-server-and-test docs:dev http://localhost:3000 'npx cypress open --project docs/nuxt/test'", "example:druxt-site": "cd examples/druxt-site && yarn && yarn dev",