Skip to content

Commit

Permalink
feat(github-action): omit yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed Sep 6, 2023
1 parent 1345481 commit 339db60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/generate-icon-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
with:
node-version: 18.17.1

- name: Load Yarn cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: |
yarn install
# - name: Load Yarn cache
# uses: actions/cache@v3
# with:
# path: ${{ steps.yarn-cache.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-

# - name: Install Dependencies
# run: |
# yarn install

- name: Git Config
run: |
Expand Down
3 changes: 2 additions & 1 deletion packages/bezier-react/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = {

config.resolve.extensions.push('.ts', '.tsx')

if (process.env.NODE_ENV === 'production') {
if (process.env.NODE_ENV === 'development') {
/**
* @note
*
Expand All @@ -58,6 +58,7 @@ module.exports = {
config.plugins.push(new ReactDocgenTypescriptPlugin({
shouldExtractLiteralValuesFromEnum: true,
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
shouldRemoveUndefinedFromOptional: true,
}))
}

Expand Down

0 comments on commit 339db60

Please sign in to comment.