From 9846a63ff01c91cfea86768a7e3edc2b75bf3aa8 Mon Sep 17 00:00:00 2001 From: woohm402 Date: Fri, 31 May 2024 01:49:50 +0900 Subject: [PATCH] fix cd --- .github/workflows/publish-base.yml | 10 +++----- .npmrc | 2 -- .turbo/cookies/1.cookie | 0 .../d113209a97e212ff-turbo.log.2024-05-30 | 25 ------------------- packages/base/package.json | 5 ++-- 5 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 .npmrc delete mode 100644 .turbo/cookies/1.cookie delete mode 100644 .turbo/daemon/d113209a97e212ff-turbo.log.2024-05-30 diff --git a/.github/workflows/publish-base.yml b/.github/workflows/publish-base.yml index 3bc1398..6b9b9b2 100644 --- a/.github/workflows/publish-base.yml +++ b/.github/workflows/publish-base.yml @@ -19,14 +19,12 @@ jobs: # GitHub Packages 배포 - name: Publish to GitHub Packages - run: yarn publish:base --registry=https://npm.pkg.github.com/ - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + run: | + echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" > ~/.npmrc + yarn publish:base --registry=https://npm.pkg.github.com/ # npm 공용 레지스트리에 배포 - name: Publish to npm run: | - echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc + echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc yarn publish:base --registry=https://registry.npmjs.org/ - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index fcc0a03..0000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -registry=https://registry.npmjs.org/ -@woohm402:registry=https://npm.pkg.github.com diff --git a/.turbo/cookies/1.cookie b/.turbo/cookies/1.cookie deleted file mode 100644 index e69de29..0000000 diff --git a/.turbo/daemon/d113209a97e212ff-turbo.log.2024-05-30 b/.turbo/daemon/d113209a97e212ff-turbo.log.2024-05-30 deleted file mode 100644 index f16fedf..0000000 --- a/.turbo/daemon/d113209a97e212ff-turbo.log.2024-05-30 +++ /dev/null @@ -1,25 +0,0 @@ -2024-05-30T15:36:59.563128Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.563215Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573150Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573284Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573286Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573288Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573289Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573291Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573342Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.573478Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.583118Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.583295Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.583413Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.599810Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.604762Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.604791Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.604937Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.605108Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.614980Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.615158Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.625032Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.625172Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.625341Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.636162Z WARN turborepo_lib::package_changes_watcher: file event lagged -2024-05-30T15:36:59.636349Z WARN turborepo_lib::package_changes_watcher: file event lagged diff --git a/packages/base/package.json b/packages/base/package.json index 8f103d2..ebeeeb2 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,11 +1,10 @@ { "name": "@woohm402/eslint-config-base", - "version": "0.0.12", + "version": "0.0.20", "description": "Base config for TypeScript", "private": false, "scripts": { - "test": "vitest run", - "publish": "npm publish" + "test": "vitest run" }, "type": "module", "main": "index.js",