Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
feat: run build commands prior to storybook and adjust node version f…
Browse files Browse the repository at this point in the history
…or testing
  • Loading branch information
Callin Mullaney committed Apr 17, 2024
1 parent 6c617af commit fdf102a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: steps.component_changes.outputs.components == 'true'
uses: actions/setup-node@v2
with:
node-version: '16.13'
node-version: '20'
- name: Install dependencies
if: steps.component_changes.outputs.components == 'true'
run: npm ci
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.13'
node-version: '20'
- name: Install CLI
run: npm install -g @emulsify/cli
- name: Install starter
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"prettier": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --ignore-unknown \"./components/**/*.{js,yml,scss,md}\"",
"prettier-fix": "prettier --config config/emulsify-core/prettierrc.config.json --ignore-path config/emulsify-core/.prettierignore --write --ignore-unknown \"./components**/*.{js,yml,scss,md}\"",
"semantic-release": "semantic-release",
"storybook": "storybook dev -c node_modules/emulsify-core/.storybook --ci -s ../../../dist,../../../assets/images,../../../assets/icons -p 6006",
"storybook-build": "storybook build -c node_modules/emulsify-core/.storybook -s ./dist,./assets/images,./assets/icons -o .out",
"storybook": "npm run build; storybook dev -c node_modules/emulsify-core/.storybook --ci -s ../../../dist,../../../assets/images,../../../assets/icons -p 6006",
"storybook-build": "npm run build; storybook build -c node_modules/emulsify-core/.storybook -s ./dist,./assets/images,./assets/icons -o .out",
"storybook-deploy": "storybook-to-ghpages -o .out",
"test": "jest --coverage --config ./config/jest.config.js",
"twatch": "jest --no-coverage --watch --verbose",
Expand Down

0 comments on commit fdf102a

Please sign in to comment.