From 4c51d92fafaacbd5dbbd63fa10766bc0a3fece1e Mon Sep 17 00:00:00 2001 From: Ben Limmer <630449+blimmer@users.noreply.github.com> Date: Wed, 8 Nov 2023 09:45:29 -0700 Subject: [PATCH] fix: CircleCI yarn cache [sc-42645] (#103) --- .circleci/config.yml | 4 ++-- .npmignore | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .npmignore diff --git a/.circleci/config.yml b/.circleci/config.yml index 07e3ed6..130045c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: - checkout - run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc - node/install-packages: - pkg-manager: yarn + pkg-manager: yarn-berry - run: npm run build - run: npm test @@ -42,5 +42,5 @@ jobs: - checkout - run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc - node/install-packages: - pkg-manager: yarn + pkg-manager: yarn-berry - run: npm run semantic-release diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..f8d71df --- /dev/null +++ b/.npmignore @@ -0,0 +1,15 @@ +/.circleci +/.github +/.storybook +/.yarn +/.eslintcache +/.eslintignore +/.eslintrc.js +/.nvmrc +/.prettierrc.js +/.yarnrc.yml +/jest.config.js +/release.config.js +/tsconfig.json + +node_modules