From 9dfa67a4da610c206b996cf4588972c262ca6363 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 | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 602a03dcf..af5d93de1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,6 +123,11 @@ 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 + environment: + NODE_OPTIONS: "" - 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 a17ba9708..0a3d62d10 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",