Skip to content

Commit

Permalink
Merge pull request #28 from kodai3/use-npm
Browse files Browse the repository at this point in the history
chore: 🤖 use npm over yarn
  • Loading branch information
jmblog authored Mar 22, 2024
2 parents 8e8b891 + 62d5994 commit c18f74c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
persist-credentials: false

- run: npm install
- run: npm ci

- name: Generate Storybook
run: npm run build:storybook
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Install dependencies
run: |
npm i
npm ci
- name: figma
run: yarn run figma
run: npm run figma
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
FIGMA_FILE_KEY: ${{ secrets.FIGMA_FILE_KEY }}
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ node_modules/

.env

# use npm instead
yarn.lock

.idea

dist/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build:ts:esm": "tsc --project tsconfig.esm.json",
"build:ts:cjs": "tsc --project tsconfig.cjs.json",
"build:copy-svgs": "test -d dist || mkdir dist && cp -R assets/*.svg dist",
"build": "yarn build:svg && yarn build:ts && yarn build:copy-svgs",
"build": "npm run build:svg && npm run build:ts && npm run build:copy-svgs",
"prepublishOnly": "npm run build",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook"
Expand Down

0 comments on commit c18f74c

Please sign in to comment.