From 62d5994e79447d42a7b916791974337dd9a5fc6d Mon Sep 17 00:00:00 2001 From: kodai3 Date: Wed, 20 Mar 2024 14:16:57 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20use=20npm=20over=20yarn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kodai3 --- .github/workflows/deploy_storybook.yml | 2 +- .github/workflows/schedule.yml | 4 ++-- .gitignore | 3 --- package.json | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy_storybook.yml b/.github/workflows/deploy_storybook.yml index b6facfc..9bc4115 100644 --- a/.github/workflows/deploy_storybook.yml +++ b/.github/workflows/deploy_storybook.yml @@ -15,7 +15,7 @@ jobs: with: persist-credentials: false - - run: npm install + - run: npm ci - name: Generate Storybook run: npm run build:storybook diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index aa5d035..fa7ae23 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -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 }} diff --git a/.gitignore b/.gitignore index 511e0bd..3ac01c6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,6 @@ node_modules/ .env -# use npm instead -yarn.lock - .idea dist/ diff --git a/package.json b/package.json index 7b5403f..4b2fb3a 100644 --- a/package.json +++ b/package.json @@ -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"