From 2833d17eb4e31cc81867533778a1cb3fd6fc79cd Mon Sep 17 00:00:00 2001 From: profanis Date: Fri, 27 Sep 2024 11:50:53 +0300 Subject: [PATCH] chore: install tutorial packages (#2223) * chore: install tutorial kit packages * chore: approach to install tutorial packages * chore: exclude tutorials linting --- .circleci/config.yml | 6 ++++-- .github/actions/setup/action.yml | 2 +- package.json | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9105e19e4..6fdacacf5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,9 @@ yarn_install_var: &yarn_install run: name: Yarn Install Packages # We install deps based on the frozen yarn file, so we know it's always the same - command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn --non-interactive + command: | + yarn install --frozen-lockfile --cache-folder ~/.cache/yarn --non-interactive + yarn tutorials:install # Save yarn cache save_cache_var: &save_cache @@ -85,7 +87,7 @@ jobs: - *attach_workspace - run: name: Run ESLint analyzer - command: yarn nx run-many --target=lint --all + command: yarn nx run-many --target=lint --all --exclude=create-app unit_tests: <<: *job_defaults diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 66bb80651..241af5352 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -77,4 +77,4 @@ runs: - name: Install tutorials dependencies shell: bash - run: yarn --cwd tutorials/create-app/ install --frozen-lockfile --non-interactive + run: yarn tutorials:install diff --git a/package.json b/package.json index ff0927553..1021e1fe1 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,8 @@ "version:integration:ng16": "cd integrations/hello-world-ng16 && yarn install --force && cd ../..", "version:integration:ng17": "cd integrations/hello-world-ng17 && yarn install --force && cd ../..", "version:integration:ng18": "cd integrations/hello-world-ng18 && yarn install --force && cd ../..", - "// - INTEGRATION END -": "----------" + "// - INTEGRATION END -": "----------", + "tutorials:install": "yarn --cwd tutorials/create-app/ install --frozen-lockfile --non-interactive" }, "private": true, "devDependencies": {