From ecab4cfcd6c9305e7fa6fe4fc8bca393ca1148d9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Aug 2026 12:43:02 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20npm=20publish=20=E3=81=AE=20workflow?= =?UTF-8?q?=20=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release 作成時に必ず失敗する構成だった。package.json が private: true の ため npm publish が拒否され、パッケージ名 @openai/codex-plugin-cc も GitHub Packages が要求するリポジトリ所有者スコープ(tanakauo)と一致しない。 このリポジトリを npm で公開する予定はないため、workflow ごと削除する。 CI(pull-request-ci.yml)はそのまま残る。 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01U2j9ygS1iB3oPmV5QcQqqr --- .../workflows/npm-publish-github-packages.yml | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml deleted file mode 100644 index ea2d329fa..000000000 --- a/.github/workflows/npm-publish-github-packages.yml +++ /dev/null @@ -1,36 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: Node.js Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm ci - - run: npm test - - publish-gpr: - needs: build - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}