Skip to content

Commit

Permalink
chore: ensure nx cache is not used for ci builds (#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe committed May 3, 2024
1 parent e3edfe7 commit 56c1a5f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions package.json
Expand Up @@ -17,10 +17,9 @@
"build:preview": "nx build storybook",
"build:site": "nx build docs",
"builder": "nx run-many --target build --projects",
"cache:clean": "nx reset",
"changeset": "changeset",
"ci": "cross-env NODE_ENV=production yarn builder tag:component,ui-icons",
"ci:storybook": "cross-env NODE_ENV=production nx run storybook:build:ci",
"ci": "cross-env NODE_ENV=production yarn builder tag:component,ui-icons --skip-nx-cache",
"ci:storybook": "cross-env NODE_ENV=production nx run storybook:build:ci --skip-nx-cache",
"clean": "yarn cleaner tag:component",
"clean:docs": "rimraf dist",
"clean:preview": "nx clean storybook",
Expand All @@ -29,17 +28,17 @@
"dev": "cross-env NODE_ENV=production nx run storybook:build:docs && nx start docs",
"format": "yarn formatter tag:component",
"formatter": "nx run-many --target format --projects",
"preinstall": "command -v nvm >/dev/null 2>&1 && nvm use || exit 0",
"lint": "yarn linter tag:component",
"linter": "nx run-many --target lint --verbose --projects",
"new": "nx run @spectrum-css/generator:new",
"precommit": "lint-staged --allow-empty --config lint-staged.config.js",
"prepare": "husky install && run-p refresh:directory refresh:env && yarn refresh:config",
"postinstall": "husky || true && yarn refresh",
"refresh": "run-p refresh:directory refresh:env && yarn refresh:config",
"refresh:config": "bash ./tasks/chromatic-config-creation.sh || exit 0",
"refresh:directory": "bash ./tasks/clean-up-after-migration.sh || exit 0",
"refresh:env": "bash ./tasks/copy-env-from-root.sh || exit 0",
"release": "cross-env NODE_ENV=production nx reset && yarn builder token,tag:component,ui-icons && changeset publish",
"release:site": "cross-env NODE_ENV=production yarn build:site && gh-pages -d dist/ -f -e .",
"release": "cross-env NODE_ENV=production yarn builder token,tag:component,ui-icons --nx-skip-cache && changeset publish",
"release:site": "cross-env NODE_ENV=production yarn build:site --nx-skip-cache && gh-pages -d dist/ -f -e .",
"start": "cross-env NODE_ENV=development nx start storybook",
"test": "cross-env NODE_ENV=production nx test storybook",
"test:plugins": "cross-env NODE_ENV=production nx run-many --target test --projects tag:stylelint",
Expand Down

0 comments on commit 56c1a5f

Please sign in to comment.