From 40bb45602f3cc7b19128d5da697f2d5b015f6940 Mon Sep 17 00:00:00 2001 From: ienaga Date: Sun, 23 Mar 2025 16:49:49 +0900 Subject: [PATCH] =?UTF-8?q?npm=20publish=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index deb1081..626d89e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,9 +15,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: + node-version: "22.x" registry-url: "https://registry.npmjs.org" - run: npm install - - run: npm run publish + - run: npm run release - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 1f6efa6..911dc90 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ ], "scripts": { "lint": "eslint src/index.ts", - "publish": "tsc" + "release": "tsc" }, "files": [ "dist"